Alice Community

Alice Community (
-   How do I...? (
-   -   Collision clipping (

HorusLupercal 05-08-2012 05:42 PM

Collision clipping
I've set up a collision detection using the in front of, to the left of, etc. and it works fine most of the time. For some reason every once in a while the object that is in motion and collides with the walls will move way more than the 0.5m that I have set up in the collision. When this happens it also pushes the object through other walls.

I've modeled my collision off of some of the tutorials that SFunk and others have directed me towards and they don't have this issue. Is there something underlying that I'm missing or perhaps I need to be more precise with my walls or make them spaced further apart?

On another note, I have objects that my main object is going to pick up (a sword and shield). I have set the objects in a world variable and run a for all objects in the variable when knight is within 2m they set opacity to 0%. For some reason this function is not working at all. Even when the knight is directly on top of the object. Thoughts?

sfunk 05-08-2012 10:46 PM

The distance is probably too small, don't forget that Alice measure objects distances from their centers. so for the Knight im guessing the center would be it's chest and the middle of the blade for the sword.

All times are GMT -5. The time now is 12:11 AM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.