Page 1 of 1

EntityPhysicBody

Posted: Thu Sep 17, 2009 1:18 pm
by djes
After some tests, it appears that this command is broken, especially

Code: Select all

EntityPhysicBody(Bullet, #PB_Entity_None, #PB_Entity_AbsoluteBodyMove)
with or without #PB_Entity_AbsoluteBodyMove.
Try the shooter example, and modify the line

Code: Select all

EntityPhysicBody(Bullet, #PB_Entity_BoxBody, #PB_Entity_AbsoluteBodyMove)
to

Code: Select all

EntityPhysicBody(Bullet, #PB_Entity_BoxBody, #PB_Entity_AbsoluteBodyMove); I activate collision
EntityPhysicBody(Bullet, #PB_Entity_None, #PB_Entity_AbsoluteBodyMove);I desactivate immediatly after
The result is... :D

In a game, I just needed to disable collision, and it doesn't work.

Re: EntityPhysicBody

Posted: Thu Sep 17, 2009 1:28 pm
by DarkDragon
Yes confirmed once a while ago. I think I've asked Fred in the PureBasic IRC channel about that. And I think I forgot it to report, because of more important bugs. Thanks for remembering on this and reporting it ;-) .