Problem with itween and collision detection

I recently purchased playmaker, and with it comes itween. While i really like it, there is one thing i cant get to work: collision detection. For example: Shooting a bullet with a collider using itween, wich i want to hit (for example) an enemy wich also has a collider, and on Collider Enter the enemy should die (or something else).

i tried:

-putting an rigid body with is kinematic checked on one of the objects.

-checking is trigger on one of the objects

-and just using 2 colliders

Note: i use playmaker for scripting

please help me. i was not able to find someone with exactly the same problem

thanks.

anyone?

So you’re using iTween instead our Unity’s regular physics engine?

[Edit:]

If so the physics or the collision I should say may not be being read.

First you need to know if the collision is being read or not.

Try a this:

function OnCollisionEnter () {
renderer.material.color = Color.red; //if collides anything, object will turn red.
}

Then if it doesn’t try it without iTween and check.

thanks. in tried it but it seems like no collision check works.
not nt trigger enter, not on collission enter, but when using a first person controller on trigger enter does work.
have you got any idea what the problem could be?
i’m running 3.5.5f3.

Problem solved! :smile:
putting a rigidbody on the moving object and checking is trigger on the object to collide with gives the proper result.