mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-24 22:47:25 +00:00
b261e63233
* chore: Change entity and component logic to use bitstream references * merge
17 lines
493 B
C++
17 lines
493 B
C++
/*
|
|
* Darkflame Universe
|
|
* Copyright 2023
|
|
*/
|
|
|
|
#include "RigidbodyPhantomPhysicsComponent.h"
|
|
#include "Entity.h"
|
|
|
|
RigidbodyPhantomPhysicsComponent::RigidbodyPhantomPhysicsComponent(Entity* parent) : PhysicsComponent(parent) {
|
|
m_Position = m_Parent->GetDefaultPosition();
|
|
m_Rotation = m_Parent->GetDefaultRotation();
|
|
}
|
|
|
|
void RigidbodyPhantomPhysicsComponent::Serialize(RakNet::BitStream& outBitStream, bool bIsInitialUpdate) {
|
|
PhysicsComponent::Serialize(outBitStream, bIsInitialUpdate);
|
|
}
|