Sign in to follow this  

Ageia: Character Control not pushing dynamic objects

This topic is 3730 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;
if(heightDelta!=0.0f)
	d.y+=heightDelta;

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

This topic is 3730 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this