#Gravity Gun with no piston method

5 messages · Page 1 of 1 (latest)

light pawn
#

For players, you will need to use an Event, this is because for the Velocity to work properly, it needs to be executed by the player themself otherwise it will not "sync" properly through the server.

For making a Gravity Gun without a piston, you can just get the position of the Gravity Gun and add it's own Forward Vector (you can Vector Scale the forward vector if you want to change the distance on how far the position is, by default it is 1m) and subtract that value from the Object/Player position.

#

========
On the Event Definition, you will need to have a Player port on it, and use an Event Sender for when you are trying to hold a Player with the Gravity Gun, then configure the Event Sender to be All. Afterwards, use an Event Reciever with a "If Local Player Should Run" attached to the Player. On "Should Run", activate the Velocity.

#

I just got home, but I can make the Circuits, you want to get on? I could make it with you and explain on the way, hopefully give you an understanding on how it works.

#

Alright, you can add me through my About Me

#

I will be on in around 5 minutes