I want to retreive distance information from a ball to the floor and have a continuous update of its distance displayed on my screen. the ball goes up and down using physics. I am not sure but would I use c_trace to do this? A verticle trace? My inexperience at never done this I am not sure of the approach to solve this problem. The use of "hit" implies to me I cant get continous information displayed. Not sure though. The example in manual doesnt help me much. Any suggestions on how to do this? Do I need to use ACTIVATE_SONAR somehow? Looking for nudges to overcome brain freeze. Thanks
you want to know the distance between the ball and the ground? if so, you can do a simple trace down from the ball position. get the target (vector which is being set when the trace hit something), and do a vec_dist between target and ball. You'll know the exact quants between the floor and the ball then.