Seats

Im trying to make some vehicles, but I need to know how I can find out the seat positions soooo yeah
Any response that could help will be appreciated instead if “OMG U IS FAG l2code”

I always just spawned a seat, put my player in it and used a KeyPressed hook to move it with movement keys, then used WorldToLocal (or LocalToWorld, I always get those two confused) to grab the coordinates.

Store the vehicle entity in a variable, get the world vector of the seat in it’s correct position, and then use <Vehicle Ent>:WorldToLocal(<World Vector>) to get the offset from the vehicles’s OBB Center. This offset vector can then be used the position the seat :slight_smile: