Getting the right/left vector of a lookvector

so i’ve been trying to make a dash script where you dash based off of the keys that you are holding, and its been easy enough for W and S (just use the lookvector and -lookvector) but then for A and D im kind of confused on what to do, since i dont know how to turn a lookvector sideways, if that makes sense. also i am NOT using the Y axis in any of these.

tried google searching some formulas but i couldnt find anything

you could probably do some fancy trigonometry stuff here but i dont know how

If your using CFrame.lookvector then there’s all ready plenty of other options including right vector

4 Likes

e

roblox devforum post

other devforum post that I learned something cool from that might help

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.