Getting Angular velocity based off of positions

Say I have dummy1, hit dummy2:

image

My goal is to make dummy2 fall backwards in this direction he was hit from (regardless of orientation)

image

How would I go about calculating the rotational velocity in a BodyAngularVelocity based off the CFrame/Position of both dummy1 and dummy2?

1 Like

Bumping this thread, still can’t find an answer.

1 Like
local AttackerPosition = Dummy1.HumanoidRootPart.Position
local TargetPosition = Dummy2.HumanoidRootPart.Position

local Direction = (TargetPosition - AttackerPosition).Unit

AngularVelocity.AngularVelocity = Vector3.new(Direction.Z, 0, -Direction.X)
2 Likes