Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Physics::Component::CharacterControllerInternal Struct Reference

Internal component that holds the Jolt CharacterVirtual object. Managed automatically by the plugin. More...

#include <CharacterControllerInternal.hpp>

Public Member Functions

 CharacterControllerInternal ()=default
 Default constructor.
 CharacterControllerInternal (JPH::CharacterVirtual *inCharacter)
 Construct with an existing CharacterVirtual.
bool IsValid () const
 Check whether the internal character is valid.

Public Attributes

JPH::Ref< JPH::CharacterVirtual > character
 Jolt virtual character (reference-counted, null until constructed).

Detailed Description

Internal component that holds the Jolt CharacterVirtual object. Managed automatically by the plugin.

Warning
Internal use only! Do not use directly.

Constructor & Destructor Documentation

◆ CharacterControllerInternal() [1/2]

Physics::Component::CharacterControllerInternal::CharacterControllerInternal ( )
default

Default constructor.

◆ CharacterControllerInternal() [2/2]

Physics::Component::CharacterControllerInternal::CharacterControllerInternal ( JPH::CharacterVirtual * inCharacter)
inlineexplicit

Construct with an existing CharacterVirtual.

Parameters
inCharacterThe Jolt CharacterVirtual to wrap

Member Function Documentation

◆ IsValid()

bool Physics::Component::CharacterControllerInternal::IsValid ( ) const
inlinenodiscard

Check whether the internal character is valid.

Member Data Documentation

◆ character

JPH::Ref<JPH::CharacterVirtual> Physics::Component::CharacterControllerInternal::character

Jolt virtual character (reference-counted, null until constructed).


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