[ODE] more specific questions on physical movement of players..

Mike Reinstein web_fella at hotmail.com
Sun May 9 14:55:13 MST 2004


Thanks ken.
Can I use SetLinearVel(body, x,y,z) to effectively stop movement of my 
object? Is this safe to do?

Mike



>From: Ken Kopecky <allegrocm at isunet.net>
>To: ode at q12.org
>Subject: Re: [ODE] more specific questions on physical movement of 
players..
>Date: Sun, 9 May 2004 13:04:24 -0500
>
>Use this function to get the velocity components of your body.
>linVel[1] will correspond to the Y velocity.
>
>dReal* linVel = dBodyGetLinearVel( body );
>
>Ken
>
>
>At 12:24 PM -0400 5/9/04, Mike Reinstein wrote:
>>1) I understand that my friction is not good enough to stop the
>>sphere from rolling, but how do I go about upping the friction?
>>It'd be great if I don't have to code a lot of special cases and
>>could build an elegant model to simulate movements.  Would it help
>>if I posted in my collision callback implementation?
>>
>>2) How do I detect the case when I'm not on the ground? Originally
>>I thought I could use some call in ODE like getYVelocity(bodyID,
>>dReal* result), but I cant seem to find any fnctions that allow me
>>to get component velocity for a given object.
>>
>>Any info would be appreciated....thanks all!
>>
>>Mike
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/direct/01/



More information about the ODE mailing list