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 12
5 months 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) incapaxx 3172 — 5mo

1 answer

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

maybe just rotate it 180 degrees?

Ad

Answer this question