Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 1:17 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Nov 05, 2007 4:35 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 7:21 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

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

Ouille.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 1:28 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
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" :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 5:44 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

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
Ouille


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 11:31 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Nice :) i go to open the new thread.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group