31
Technical forum / Collision detection with two 3D actors
« on: March 27, 2008, 02:36:46 PM »
Hi!
I´ve got 2 switchable 3D actors. How can I avoid that these actors pass through each other?
My though was, that I alter the scene.script file
But how would I do that?
Thankful for any help,
Oli
I´ve got 2 switchable 3D actors. How can I avoid that these actors pass through each other?
My though was, that I alter the scene.script file
Code: [Select]
on "LeftClick"
{
// when the scene is left-clicked, just send the actor to the specified point
actor.GoTo(Scene.MouseX, Scene.MouseY);
--> change waypoints and blocked area somehow
}
But how would I do that?
Thankful for any help,
Oli