NewtonBodySetCollidable does nothing

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

NewtonBodySetCollidable does nothing

Postby jamesm6162 » Mon Jun 13, 2016 10:53 am

Hi Julio

In dgDynamicBody.h, should:
Code: Select all
virtual void SetCollidable (bool state) {}

Not also be:
Code: Select all
virtual void SetCollidable (bool state) {m_collidable = state;}


Regards

James
jamesm6162
 
Posts: 49
Joined: Wed Aug 12, 2015 8:50 am

Re: NewtonBodySetCollidable does nothing

Postby Julio Jerez » Mon Jun 13, 2016 1:30 pm

I suppose, I do no remember why was set like that, has you try changing it?
Julio Jerez
Moderator
Moderator
 
Posts: 11048
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonBodySetCollidable does nothing

Postby jamesm6162 » Tue Jun 14, 2016 2:18 am

I have, but it does not seem to have any effect. So the body still collides with the surroundings even when I set it to true.
jamesm6162
 
Posts: 49
Joined: Wed Aug 12, 2015 8:50 am

Re: NewtonBodySetCollidable does nothing

Postby Julio Jerez » Tue Jun 14, 2016 8:11 am

set the collision shape to be no collidable.
Julio Jerez
Moderator
Moderator
 
Posts: 11048
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonBodySetCollidable does nothing

Postby jamesm6162 » Wed Jun 15, 2016 5:36 am

Okay thanks
jamesm6162
 
Posts: 49
Joined: Wed Aug 12, 2015 8:50 am


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 2 guests