// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// This class contains settings that allow you to override the behavior of a character's collision response /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:72 ///
/// class CharacterContactSettings ///
///
[StructLayout(LayoutKind.Explicit, Size = 2)] public partial struct CharacterContactSettings { /// /// /// True when the object can push the virtual character. /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:76 ///
/// bool mCanPushCharacter = true ///
///
[FieldOffset(0)] public Brutal.Bool8 CanPushCharacter; /// /// /// 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. /// /// /// C++: /// Jolt/Physics/Character/CharacterVirtual.h:81 ///
/// bool mCanReceiveImpulses = true ///
///
[FieldOffset(1)] public Brutal.Bool8 CanReceiveImpulses; } }