Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
OnTriggerEnter
« previous
next »
Print
Pages: [
1
]
Author
Topic: OnTriggerEnter (Read 5929 times)
mike2d
2D Toolkit
Jr. Member
Posts: 63
OnTriggerEnter
«
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 ?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: OnTriggerEnter
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
OnTriggerEnter