2D Toolkit Forum

2D Toolkit => Support => Topic started by: mike2d on July 21, 2012, 11:34:51 am

Title: OnTriggerEnter
Post by: mike2d on July 21, 2012, 11:34:51 am
hi,

I've noticed that when moving a sprite in a collider with trigger, OnTriggerEnter was called every time the sprite changes its direction...

is this intentional ?
Title: Re: OnTriggerEnter
Post by: unikronsoftware on July 21, 2012, 11:48:57 am
OnTriggerEnter is called by the Unity collider system and originates from the PhysX callback system.
This is probably expected behaviour.

I suggest trying it with a normal box to see what happens there. Shouldn't be any different.