Weightless? Zero-G?

Creating scripts
Post Reply
User avatar
Baroun Tardis
Posts: 3
Joined: Sun Feb 28, 2021 8:04 pm
Has thanked: 1 time
Been thanked: 3 times

Weightless? Zero-G?

Post by Baroun Tardis »

Back in SL, one could put an llSetForce in an attachment and produce an avatar that floats in zero-G

OpenSim doesn't support the use of this command in an attachement.. sigh.

Has anyone found a work around?
Wanting to add zero-G to my spaceship simulations...

Right now, I'm about to punt and make a poseball sized vehicle with a forced sit that occurs when an avatar is standing in a micrograv area.
These users thanked the author Baroun Tardis for the post:
Ilan Tochner
User avatar
Baroun Tardis
Posts: 3
Joined: Sun Feb 28, 2021 8:04 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Weightless? Zero-G?

Post by Baroun Tardis »

Looks like this can be faked with llSetHoverHeight , llMoveToTarget and llStopHover
Have to do some math in the HUD to track momentum.
Repeated llMoveToTarget works, but it's super bumpy. Setting hover height smooths it out.

Side note: adding in code for llWater allows you to make a script that lets you swim on the surface rather than walk along the bottom
These users thanked the author Baroun Tardis for the post:
Snoots Dwagon
Post Reply