This project has moved and is read-only. For the latest updates, please go here.

A Moving Object with Static Collisions?

Topics: User Forum
Jan 23, 2008 at 2:56 PM
I'm new to your engine and I was wondering if it was possible to have a body which can collide with another and which I define the movement of rather than control with forces.

E.g. I would like a piston to move up and down in an exact pre-determined motion and a ball to be able to collide with and bounce off it. However I don't want the piston to be affected by the collision in any way.

Is this possible inside this engine?

Thanks a lot,

Jan 26, 2008 at 5:42 AM
I suspect you could do this - I believe the demos at least half of this - immovable objects....

Looks like you are also asking for an unstoppable force

Better not have two of those pistons or you'll be bound for a paradox...
Jan 26, 2008 at 8:37 PM

I've basically done a nasty quick fix by setting all the internal properties to public and changing velocities and positions as appropraite in the update method. It works fine for what I am doing. Real props to crashlander for the engine.

Jan 26, 2008 at 8:37 PM
Edited Jan 26, 2008 at 8:38 PM
edit: double post