// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:71 ///
/// class CharacterContactSettings ///
///
/// /// /// This class contains settings that allow you to override the behavior of a character's collision response /// /// [InteropHandle] public readonly partial struct CharacterContactSettings : IDisposable { public static CharacterContactSettings Create() => Jolt.PInvoke.CharacterContactSettings_Create(); /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:75 ///
/// bool mCanPushCharacter = true ///
///
/// /// /// True when the object can push the virtual character. /// /// public bool GetCanPushCharacter() => Jolt.PInvoke.CharacterContactSettings_GetCanPushCharacter(this); /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:75 ///
/// bool mCanPushCharacter = true ///
///
/// /// /// True when the object can push the virtual character. /// /// public void SetCanPushCharacter(bool value) => Jolt.PInvoke.CharacterContactSettings_SetCanPushCharacter(this, value); /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:80 ///
/// bool 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. /// /// public bool GetCanReceiveImpulses() => Jolt.PInvoke.CharacterContactSettings_GetCanReceiveImpulses(this); /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:80 ///
/// bool 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. /// /// public void SetCanReceiveImpulses(bool value) => Jolt.PInvoke.CharacterContactSettings_SetCanReceiveImpulses(this, value); public void Dispose() => Jolt.PInvoke.CharacterContactSettings_Destroy(this); } }