i6engine  1.0
i6e::api::physics::Physics_Comp_Update Struct Reference

sends message to PhysicalStateComponent with updates of velocity and impulse More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/PhysicsConfig.h>

Public Member Functions

 Physics_Comp_Update (const int64_t i, const int64_t ci, const Vec3 &v, const Vec3 &f)
 
Physics_Comp_Updatecopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

Vec3 linVel
 
Vec3 centForce
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

sends message to PhysicalStateComponent with updates of velocity and impulse

Definition at line 143 of file PhysicsConfig.h.

Constructor & Destructor Documentation

i6e::api::physics::Physics_Comp_Update::Physics_Comp_Update ( const int64_t  i,
const int64_t  ci,
const Vec3 v,
const Vec3 f 
)
inline

Definition at line 146 of file PhysicsConfig.h.

Member Function Documentation

Physics_Comp_Update* i6e::api::physics::Physics_Comp_Update::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 148 of file PhysicsConfig.h.

Member Data Documentation

Vec3 i6e::api::physics::Physics_Comp_Update::centForce

Definition at line 145 of file PhysicsConfig.h.

Vec3 i6e::api::physics::Physics_Comp_Update::linVel

Definition at line 144 of file PhysicsConfig.h.


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