I’m trying to make object throwing in VR and when releasing the object I’m trying to throw, I apply its client velocity to the real thing existing on the server, issue being is that despite the client cube being welded to the hand it doesnt seem to generate any velocity.
https://gyazo.com/d960a701c569516aa237a04815ad9015
CLIENT
if #rightHand.Grabbed:GetChildren() >= 1 then
print(rightHand.Grabbed:GetChildren()[1].PrimaryPart.Velocity,rightHand.Grabbed:GetChildren()[1].PrimaryPart)
update:FireServer("Grabbing",{
objCFrame = rightHand.Grabbed:GetChildren()[1].PrimaryPart.CFrame,
ServObj = grabRServ,
objVelocity = rightHand.Grabbed:GetChildren()[1].PrimaryPart.Velocity,
Arm = "RightGrab"
})
end
SERVER
item.ServObj.PrimaryPart:SetNetworkOwner(player)
item.ServObj.PrimaryPart.CFrame = item.objCFrame
item.ServObj.PrimaryPart.Velocity = item.objVelocity
item.ServObj.PrimaryPart:SetAttribute(Grabbable,false)
Setting the network owner to the player did help it a little bit but the velocity property is still 0,0,0