[ODE] Getting Bodies to pass through one another?

Michael Coles xtatic at digini.com
Wed Jun 29 16:46:45 MST 2005


I would set some custom data on the 2 bodies (or give them a particular name).

Then on the near collision call-back, check if it is those 2 bodies. If so, then don’t commence with the collision. 


Michael Coles
Software Developer
SC Digini Software Labs S.R.L

-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of James
Sent: Wednesday, June 29, 2005 4:18 PM
To: ode at q12.org
Subject: [ODE] Getting Bodies to pass through one another?

Hi, 

I'm hoping this is an easy one. 

I have two bodies and I want them to be able to occupy the same position in the world without ode trying to shake them apart. Basically - like ghosts. 

The thing is, I need regular physics to apply when they interact with other particular bodies (I have the body IDs in a list). Imagine something like, ghosts can pass through each other, but can't go through walls. 

I have tried to play with the ERP and CFM values for the contact I get back from their collision, but it doesn't help. I can't change the world values for these params, beause then everything becomes a ghost. How do I do this? 

Your help is greatly appreciated - thanks in advance!
James
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 6/28/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 6/28/2005
 



More information about the ODE mailing list