Jump to content
Sign in to follow this  
six_ten

attachto is changing position of my model

Recommended Posts

I have a sloop, and a model of the ratlines (the ropes that go up the side and hold the mainmast; they also function as a ladder). I attach the ratlines to the sloop using a script that includes

_ladder = "Ratlines_Ladder" createvehicle[0,0,0];
_ladder attachto [_ship,[0.0,0.0,0.0]];

The ratlines are modeled around the sloop, that is, I copied the sloop into their p3d as reference and their base and top are where they should be on the sloop. However, when I launch the game, the ratlines are rotated 180 degrees so they're on the other side of the ship and a meter or two higher than where they should be. The 0,0,0 of their p3d should be the same as the sloop's, so they should just line right up.

How can I get them to just appear where they should?

Edited by Six_Ten

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×