Sorry for the bad title, don't know how to really explain this. But I'm trying to make a building system where you place blocks relative to others.
For example I'm using
[CODE]
pos = ent:GetPos() + ent:GetAngles():Forward() * 50
[/CODE]
to set the position and that works for one direction but I want that direction to depend on where I aim relative to the base block so if I aim to the right of it it would give me the same as [CODE] ent:GetAngles():Right() [/CODE]
Anyone know how to do this?
You could do a trace in that direction and use normal.
Works, thanks!
Sorry, you need to Log In to post a reply to this thread.