[Player] `p:AttachCameraTo` bone/socket parameter
T
Timmy
Support for attaching the camera to a specific bone or socket of the actor to which it's attached, with a new optionnal parameter in
player:AttachCameraTo
(like bone_name
on actor:AttachTo
)Since
p:SetCameraLocation
does nothing when the player has a controlled pawn, we could avoid having to spawn an invisible actor and attaching it to the pawn on a specific bone, before attaching the camera to this invisible actor.