I know exactly what the problem is I think.
When you have the object frozen in place the hoverballs are constantly recieving the Z velocity from your expression gate.
Because R is always less than 100 when the button is pressed B is always 1.
So all that time the hoverballs are trying to hurl themselves further and further downwards as fast as possible. As soon as you unfreeze it they pin themselves to the ground.
I've had the same problem attempting the same thing since it is impossible to get or set the target height directly so you have to hope that the ball is near where it wants to be. Otherwise it is just churning its wheels so to speak.
I think this would be a better code setup since it precludes any movement by the hoverballs while the buttons is unpressed. The button should always be pressed when the object is frozen.
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>R = Ranger
A = R > 120
B = R < 100
VEL = -A + B
H = VEL * Button</div>


LinkBack URL
About LinkBacks

re;overflow:auto'>



Reply With Quote

Bookmarks