// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { public static partial class Jolt { public static unsafe partial class PInvoke { /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:59 ///
/// CharacterBase(const CharacterBaseSettings *inSettings, PhysicsSystem *inSystem) ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_Create")] public static partial CharacterBase CharacterBase_Create(CharacterBaseSettings settings, PhysicsSystem system); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:65 ///
/// void SetMaxSlopeAngle(float inMaxSlopeAngle) ///
///
/// /// /// Set the maximum angle of slope that character can still walk on (radians) /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_SetMaxSlopeAngle")] public static partial void CharacterBase_SetMaxSlopeAngle(CharacterBase self, float maxSlopeAngle); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:66 ///
/// float GetCosMaxSlopeAngle() const ///
///
[LibraryImport("jolt", EntryPoint = "CharacterBase_GetCosMaxSlopeAngle")] public static partial float CharacterBase_GetCosMaxSlopeAngle(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:69 ///
/// void SetUp(Vec3Arg inUp) ///
///
/// /// /// Set the up vector for the character /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_SetUp")] public static partial void CharacterBase_SetUp(CharacterBase self, float3 up); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:70 ///
/// Vec3 GetUp() const ///
///
[LibraryImport("jolt", EntryPoint = "CharacterBase_GetUp")] public static partial float3 CharacterBase_GetUp(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:73 ///
/// bool IsSlopeTooSteep(Vec3Arg inNormal) const ///
///
/// /// /// Check if the normal of the ground surface is too steep to walk on /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_IsSlopeTooSteep")] public static partial Brutal.Bool8 CharacterBase_IsSlopeTooSteep(CharacterBase self, float3 normal); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:81 ///
/// const Shape * GetShape() const ///
///
/// /// /// Get the current shape that the character is using. /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetShape")] public static partial Shape CharacterBase_GetShape(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:92 ///
/// static const char * sToString(EGroundState inState) ///
///
/// /// /// Debug function to convert enum values to string /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_sToString")] public static partial byte* CharacterBase_sToString(CharacterBase.EGroundState state); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:97 ///
/// EGroundState GetGroundState() const ///
///
/// /// /// Current ground state /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundState")] public static partial CharacterBase.EGroundState CharacterBase_GetGroundState(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:100 ///
/// bool IsSupported() const ///
///
/// /// /// Returns true if the player is supported by normal or steep ground /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_IsSupported")] public static partial Brutal.Bool8 CharacterBase_IsSupported(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:103 ///
/// RVec3 GetGroundPosition() const ///
///
/// /// /// Get the contact point with the ground /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundPosition")] public static partial float3 CharacterBase_GetGroundPosition(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:106 ///
/// Vec3 GetGroundNormal() const ///
///
/// /// /// Get the contact normal with the ground /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundNormal")] public static partial float3 CharacterBase_GetGroundNormal(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:109 ///
/// Vec3 GetGroundVelocity() const ///
///
/// /// /// Velocity in world space of ground /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundVelocity")] public static partial float3 CharacterBase_GetGroundVelocity(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:112 ///
/// const PhysicsMaterial * GetGroundMaterial() const ///
///
/// /// /// Material that the character is standing on /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundMaterial")] public static partial PhysicsMaterial CharacterBase_GetGroundMaterial(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:115 ///
/// BodyID GetGroundBodyID() const ///
///
/// /// /// BodyID of the object the character is standing on. Note may have been removed! /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundBodyID")] public static partial uint CharacterBase_GetGroundBodyID(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:118 ///
/// SubShapeID GetGroundSubShapeID() const ///
///
/// /// /// Sub part of the body that we're standing on. /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundSubShapeID")] public static partial uint CharacterBase_GetGroundSubShapeID(CharacterBase self); /// /// /// C++: /// Jolt/Physics/Character/CharacterBase.h:121 ///
/// uint64 GetGroundUserData() const ///
///
/// /// /// User data value of the body that we're standing on /// /// [LibraryImport("jolt", EntryPoint = "CharacterBase_GetGroundUserData")] public static partial ulong CharacterBase_GetGroundUserData(CharacterBase self); [LibraryImport("jolt", EntryPoint = "CharacterBase_AddRef")] public static partial void CharacterBase_AddRef(CharacterBase self); [LibraryImport("jolt", EntryPoint = "CharacterBase_Release")] public static partial void CharacterBase_Release(CharacterBase self); [LibraryImport("jolt", EntryPoint = "CharacterBase_GetRefCount")] public static partial uint CharacterBase_GetRefCount(CharacterBase self); } } }