Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
CharacterContactSettings Class Reference

This class contains settings that allow you to override the behavior of a character's collision response. More...

#include <CharacterVirtual.h>

Public Attributes

bool mCanPushCharacter = true
 True when the object can push the virtual character. More...
 
bool mCanReceiveImpulses = true
 

Detailed Description

This class contains settings that allow you to override the behavior of a character's collision response.

Member Data Documentation

◆ mCanPushCharacter

bool CharacterContactSettings::mCanPushCharacter = true

True when the object can push the virtual character.

◆ mCanReceiveImpulses

bool CharacterContactSettings::mCanReceiveImpulses = true

True when the virtual character can apply impulses (push) the body. Note that this only works against rigid bodies. Other CharacterVirtual objects can only be moved in their own update, so you must ensure that in their OnCharacterContactAdded mCanPushCharacter is true.


The documentation for this class was generated from the following file: