Game Development Community

Physics, Mounting and Pivots

by Toby Mckenzie · in Torque Game Builder · 04/14/2006 (3:55 am) · 1 replies

Lets say I have a beam that I want to rotate around a point but the rotation point to not move when it collides with something, how do I go about this, for example

o


-----------------------------------

When the ball hits the plank it should rotate but the rotation point should remain static. I have tried creating an immovable object and mounting the plank to this, but it just stops the plank from rotating.

Help complete stuck with this.

--Toby

#1
04/21/2006 (7:29 am)
Hmm - so the beam can be rotated, but not by an object hitting it, correct?

Have you tried changing the collision response of the beam to send but not recieve? Or would that break other things you want the beam to do?

My other thought would be to edit the collision callbacks for both of the objects so that the beam object simply returns and the ball has a response. That's just thinking quickly, I'm not entirely sure it would do what you're after.