Jump to content
  • Advertisement
Sign in to follow this  

Ageia: Character Control not pushing dynamic objects

This topic is 4041 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there; Im trying to code a character controller app, but my character doesnt push the dynamic actors in the scene. Im not using collision groups neither HitReportCallback (I tried taking off from their samples, and it works there...). Here is my desc
NxCapsuleControllerDesc desc;
desc.position.x		= pos.x;
desc.position.y		= pos.y;
desc.position.z		= pos.z;
desc.radius			= radius;
desc.height			= height;
desc.upDirection	= NX_Y;
desc.slopeLimit		= cosf(NxMath::degToRad(45.0f));
desc.skinWidth		= 0.1f;
desc.stepOffset		= radius* 0.5f;

My move method

NxF32 sharpness = 1.0f;

NxVec3 d = (direction + defaultGravity)*dt*0.001f;

NxU32 collisionFlags;
controller->move(d, -1, 0.000001f, collisionFlags, sharpness);

The dynamics objects r OK, they collide and respond with each other..but it seems that the collisions between dynamics/characters do not generate impulses.. What am I doing wrong? Thanks!!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!