player origin
Posted: Wed Apr 21, 2004 6:49 pm
can someone tell me where exactly the origin of a player is? must be at there feet but is it at 0? or slightly higher?
ill show u the script im using, the ball is landing too low.
ill show u the script im using, the ball is landing too low.
Code: Select all
keep_up:
$keep_up_trigger waittill trigger
$ball moveUp (level.ballheight + 30)
$ball waitmove
$ball moveDown level.ballheight
$ball waitmove
goto keep_up
end
ball_height:
while(1)
{
level.ballheight = (vector_length ($ball.origin - $player.origin))
wait .01
}
end