Interface IClearanceSwitchTarget
A ISwitchTarget that turns solid where it comes to rest, and so must not be moved onto a character: a door shut on someone standing in its doorway would close its leaf around them, and the character controller would pop them out through it to whichever side was nearer.
public interface IClearanceSwitchTarget : ISwitchTarget
- Inherited Members
Methods
IsObstructed(bool)
True when going to activated would leave solid colliders where a character stands now.
Asked by the server before it changes the target; a pose that is never solid is never obstructed.
bool IsObstructed(bool activated)
Parameters
activatedbool