Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/Server/Components/Objects/objects.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ struct IObject : public IBaseObject

struct IPlayerObject : public IBaseObject
{
virtual void attachToObject(IPlayerObject& object, Vector3 offset, Vector3 rotation) = 0;
/// Attach the object to another player object
virtual void attachToObject(IPlayerObject& object, Vector3 offset, Vector3 rotation, bool syncRotation) = 0;
Comment thread
SimoSbara marked this conversation as resolved.
Outdated

/// Attach the object to a player
virtual void attachToPlayer(IPlayer& player, Vector3 offset, Vector3 rotation) = 0;
Expand Down