Rigidbody stuck into walls

Software: Away3D 4.x

dlx, Newbie
Posted: 06 March 2013 11:53 PM   Total Posts: 12

Hi there,

I’m making a game (you can see it here : apps.facebook.com/cmayhem/) in which I move some rigidbodies (AWPBoxShape’d) at a sometimes extreme speed (due to bumping effect)

Sometimes, when linearVelocity is too high, the body get stuck in the walls (constructed with AWPBvhTriangleMeshShape)

I read a lot about and tried to play around with ccdSweptSphereRadius / ccdMotionThreshold but I can’t find the correct values to avoid this issue…

So a few questions here :
#1 - What are the correct values for ccdSweptSphereRadius / ccdMotionThreshold based on the size of my rigidBody shape ?
#2 - Is there a way to clamp the linear velocity so that it never exceed a certain value ?
#3 - Is there another way to avoid the rigidbody to get stuck into walls ?

thanks,
dlx

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X