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

How do I fix this BodyVelocity and unanchor script?

Asked by
luca544 -11
7 years ago
Edited 7 years ago

I've tried multiple times with the body velocity, to make the velocity of my character to fling, sort of like a ragdoll, and I did incorporate a script like this:

wait(5)
script.Parent.Anchored = false

The body Velocity went like this:

MaxForce 400000, 400000, 400000
P 1250
Velocity 0, 0, -30

But all it did was that the body parts got unanchored, but they didn't stay with the actual body, so they just fell to the floor, or in another case, they got unanchored but stayed floating. While the body velocity just moved them, they were not connected to the main body when that happened either. Only the body velocity was in the head, as I was expecting the ragdoll effect to make the other body parts stick with the head/torso, so the velocity could work, but the unanchor script went into all body parts, legs, arms, torso, head. Which basically disconnected all the body parts from each other.

2
Edited to replace link with code. No one wants a screenshot of code. BlueTaslem 18071 — 7y
1
smh epiclightining 0 — 5y

Answer this question