Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

How can i reverse upVector on this script?

Asked by
KOK_E 10
6 days ago

i am trying to make this go other way not just right... inverse does not work it just applies power and clones the body-velocity and the - does not work as well :/

D = Instance.new("BodyVelocity")
            D.Parent = player.Character["Torso"]
                D.velocity = player.Character["Right Arm"].CFrame.upVector * 40 
                D.MaxForce = MaxForce   
                Debris:AddItem(D,0.3)

3
I do not know what you mean by reverse. but if you want to get a "DownVector" you just negate the UpVector (-cf.UpVector) incapaxian 1315 — 6d

1 answer

Log in to vote
0
Answered by 6 days ago
(...upVector - Vector3.new(180,0,0))

maybe just rotate it 180 degrees?

Ad

Answer this question