MadSeb
(MadSeb)
May 14, 2020, 7:20pm
3954
There are a few ways.
You can use a LerpToHand grip script to have it lerp to the player post grip.
Have a grip pivot at the end of something and then bring it in manually
Lerp the object back and grip it at the end of the lerp.
If you are talking about the laser beam “toss” in 4.25+, then that is a bit more fickle, you would have to run the logic entirely server side and I wouldn’t do any of the hand adjustments that it currently does but just run it once so it maintains the arc. Otherwise you’ll have to get into removing its physics replication and running the logic on all ends, or syncing things.
Edit I did modify it a bit to be server side and use a client request, in the end logic would probably want to be in a manager component in the character or something instead of in the teleport controller, right now its a proof of concept for people.
Thanks for the quick reply. I was referring to the laser beam “toss” and I think it’s a very good mechanic. I will try to use your advice and make it work.