Discord
Steam
/
Garry's Mod
/
Developers
/
making a entit..
Login/Join
Event Log
making a entity angle torwards someone.
2 replies, posted
Search
In This Thread
I don't know why i can't figure this out right now but can someone tell me how to use SetAngles to point a ent torwards another
[lua] local ent1pos, ent2pos ent1pos = YourEntity:GetPos() ent2pos = YourOtherEntity:GetPos() YourEntity:SetAngles((ent2pos - ent1pos):Angles()) [/lua] Something like that, iirc
it worked, geee thanks
Sorry, you need to
Log In
to post a reply to this thread.