Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would i make a person fly away from a brick with BodyVelocity?

Asked by 6 years ago

I'm trying to make an explosion but I can't figure out what the math is to make it so this brick pushes away whatever is near it, does anyone know?

0
For example, if i walked to the brick, I'd be pushed back the way i came at it. Witchest 48 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

I don't think any scripting is necessary. I believe Explosion.BlastPressure controls how far you will be blasted. For more reference, just check the wiki. The wiki is always my first resource.

API:Class/Explosion

0
Its explosion-like, there are no actual explosions involved. Witchest 48 — 6y
Ad

Answer this question