Raydium 3D Game Engine

remove a plane of an ODE object?
Page 1 of 1

Author:  vicentecarro [ Mon Nov 05, 2007 4:35 pm ]
Post subject:  remove a plane of an ODE object?

Imagine a closed room without doors. Can i create (ingame) a "door" in a wall removing a certain area of the wall?
I want to allow players/objects to pass trough a random "door" in a room. And all physics should be correctly applied, so if i launch a ball against that "door" the ball will pass trough the wall.

Author:  ouille [ Mon Nov 05, 2007 7:21 pm ]
Post subject: 


I think the best way is to add your door, with a special type. (see mania drive "balancier" for example).

In the near callback if there is a collision with this door, disable further collision with rest of the wall.

Or just filter collision in the collision callback chosing to not create contact if collision happen in the door.

To conclude i think the clue is the collision callback.

Have a nice day


Author:  vicentecarro [ Tue Nov 06, 2007 1:28 pm ]
Post subject: 

Great! That looks reasonably easy.

Ouille maybe you like to help me in this task(one more of so many ones).
I have started to implement Portal tech in Raydium and you looks like an ODE expert,
If you agree, tell me and i'll start a new thread in the dev forum.
I can advance you here that i'm giving a new (better?) approach than the Valve one. Their system is not working "right" :)

Author:  ouille [ Tue Nov 06, 2007 5:44 pm ]
Post subject: 


I'm not, and far away an ode expert ;o)
But i can try to help you.
I don't have lot's of time in this period of the year (like most of us i think).

Try to give me piece of code and data.
I'll try to have a look.

But i just view a small video about portal, i'm not sure it's easy to implement.

Open a new thread i'll try to help if i can.

Have a nice day

Author:  vicentecarro [ Tue Nov 06, 2007 11:31 pm ]
Post subject: 

Nice :) i go to open the new thread.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group