mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,55 @@
|
|||
// <auto-generated/>
|
||||
// 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
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// This class contains settings that allow you to override the behavior of a character's collision response
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L72">Jolt/Physics/Character/CharacterVirtual.h:72</see>
|
||||
/// <br/>
|
||||
/// <c>class CharacterContactSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 2)]
|
||||
public partial struct CharacterContactSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// True when the object can push the virtual character.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L76">Jolt/Physics/Character/CharacterVirtual.h:76</see>
|
||||
/// <br/>
|
||||
/// <c>bool mCanPushCharacter = true</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public Brutal.Bool8 CanPushCharacter;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 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.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Character/CharacterVirtual.h#L81">Jolt/Physics/Character/CharacterVirtual.h:81</see>
|
||||
/// <br/>
|
||||
/// <c>bool mCanReceiveImpulses = true</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(1)]
|
||||
public Brutal.Bool8 CanReceiveImpulses;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue