EntityPhysicBody

All bugs related to the 3D engine
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

EntityPhysicBody

Post 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.
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: EntityPhysicBody

Post 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 ;-) .
bye,
Daniel
Post Reply