PT
Developer Forums
Register
Login
[Archived] AppGameKit Classic Chat
->
Standard Collision with physics objects
<
1
>
S
Sinistar99_2
Joined:
5th Dec 2010
Location:
Posted:
23rd Oct 2011 23:24
It seems regular sprite collision doesn't work sometimes with physics objects. Is there a way to turn on physics on a sprite without having it act like a physics object (be physically transparent but still register a physics collision?) or is there a way to get sprite collision to work perfectly on physics enabled sprites?
A
Almus
Joined:
27th Aug 2011
Location:
Brasil
Posted:
23rd Oct 2011 23:32
use kinematic mode, SetSpritePhysicsOn( iSpriteIndex, 3 ), your sprite dont be affected by other physics objects but others will react to any collision with him.
S
Sinistar99_2
Joined:
5th Dec 2010
Location:
Posted:
23rd Oct 2011 23:39
It seems SetSpritePhysicsIsSensor will detect collisions but not affect objects movement.
S
Sinistar99_2
Joined:
5th Dec 2010
Location:
Posted:
24th Oct 2011 3:29
...Also it turns out that the sprite collision was working fine too... it was my program logic that was wrong.