Page 1 of 1

Local Variables and Collisions

PostPosted: Sun Oct 19, 2003 8:38 am
by jazz_e_bob
When an actor collides with another actor with a local variable "mass" I can't seem to read collide.mass. It always returns 0.

In fact - I can't read any newly added variables to the actor.

If I test the problem using a new game and two actors it seems to work.

Is there a limit to the number of local variables for actors?

PostPosted: Sun Oct 19, 2003 1:23 pm
by makslane
There is no limitation for the number of local variables.

It seems a bug for me.
Can you send to me a little . ged where happens this problem?

PostPosted: Tue Oct 21, 2003 9:44 pm
by jazz_e_bob
OK

I've sent the project. Check out the collision event for the bullet.

I'll work on some other stuff in the meantime...

:)

PostPosted: Wed Oct 22, 2003 12:38 am
by makslane
Is really a bug, but I don't found the cause, yet.
I will work on it, but I don't know when will be resolved.

PostPosted: Thu Oct 23, 2003 11:03 pm
by jazz_e_bob
That's OK.

I'm just glad we found it.

:)