3#include <JoltPlugin/Actors/JoltActorComponent.h>
4#include <JoltPlugin/Resources/JoltMeshResource.h>
46 void SetMeshFile(
const char* szFile);
47 const char* GetMeshFile()
const;
52 void SetSurfaceFile(
const char* szFile);
53 const char* GetSurfaceFile()
const;
55 bool m_bIncludeInNavmesh =
true;
56 bool m_bPullSurfacesFromGraphicsMesh =
false;
Definition ComponentManager.h:88
Definition DynamicArray.h:81
Base class for all Jolt actors.
Definition JoltActorComponent.h:23
virtual void SerializeComponent(plWorldWriter &inout_stream) const override
Override this to save the current state of the component to the given stream.
Definition JoltActorComponent.cpp:47
virtual void OnDeactivated() override
This method is called when the component gets deactivated.
Definition JoltActorComponent.cpp:79
virtual void OnSimulationStarted() override
This method is called once for active components, at the start of the next world update,...
Definition JoltActorComponent.cpp:66
virtual void DeserializeComponent(plWorldReader &inout_stream) override
Override this to load the current state of the component from the given stream.
Definition JoltActorComponent.cpp:56
Definition JoltMaterial.h:7
Turns an object into an immovable obstacle in the physics simulation.
Definition JoltStaticActorComponent.h:17
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13