GSFC_2
-
Posts
2 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by GSFC_2
-
-
I think I complcated the issue by trying to change colors.
The problem simplified is this:
I have a long slender box that I rotate with this line of codeself.entity:Turn(0,.5,0)
Then I check for collisions with other objects.
function Script:Collision(entity, position, normal, speed)
myname = entity:GetKeyValue("name")
System:Print(myname)
endThis prints the name of each object that collides with the long box.
Works perfectly.
Once.
As the box rotates around and collides with the objects a second time nothing happens.I tried AggorJorn's code and it does the same as mine. It prints "Entered the trigger" and "Exiting the trigger" for each object once. Subsequent collisions are ignored.
It appears after an object has recorded a collision something needs to be reset before the next collision.
- 1
Collision Reset?
in General Discussion
Posted
what about professional standalone update?