Sphered Posted July 29, 2022 Share Posted July 29, 2022 To rule out the floats or other syntax, try just a lazy ref translate WhateverRef.TranslateToRef(Game.GetPlayer(),500.0) SetMotionType was more of a troubleshooting measure. Do try translating with other random objects just to make sure you have the actual routine covered Link to comment Share on other sites More sharing options...
Tiziano74 Posted July 30, 2022 Author Share Posted July 30, 2022 Try this: Translate the boat only a couple of meters first and not a long distance which would be crossing several cells, move it 2 meters.If it moves, then the issue is with the distance been translated that exceeds the cells both actor and mesh are in. Other than this I can't think of something else right now. It's a test that I have already done, I had thought about it, but nothing to do.In the meantime I have tested everything in an Interior Test Room, and there everything works correctly, making a copy and past of both the trigger and the boat and obviously, considering that the room, modifying the coordinates in the Propierties of the script, so it cannot be a script or 3D model problem, it has to be something about open space ... Link to comment Share on other sites More sharing options...
Tiziano74 Posted July 30, 2022 Author Share Posted July 30, 2022 (edited) To rule out the floats or other syntax, try just a lazy ref translate WhateverRef.TranslateToRef(Game.GetPlayer(),500.0) SetMotionType was more of a troubleshooting measure. Do try translating with other random objects just to make sure you have the actual routine coveredI tried it in an Interior and it works ... in an open space the boat remains motionless ... I even tried to insert a Navmesh, or to move both the boat and the script very far from everything in the open space, but nothing The last thing that comes to my mind is that in a new wolrdspace, outdoors, the TranslateTo doesn't work for some reason. . .If anyone could test this, let me know if it works or not ... Edited July 30, 2022 by Tiziano74 Link to comment Share on other sites More sharing options...
maxarturo Posted July 30, 2022 Share Posted July 30, 2022 NavMesh plays no role here. I personally have use the function in question, and almost all the 'translate' functions' on an exterior cell, and it works as long as both the translated object and the player are in the same cell. Be ware: In the same cell and not in the same worldspace. Link to comment Share on other sites More sharing options...
Tiziano74 Posted July 30, 2022 Author Share Posted July 30, 2022 NavMesh plays no role here.I personally have use the function in question, and almost all the 'translate' functions' on an exterior cell, and it works as long as both the translated object and the player are in the same cell.Be ware: In the same cell and not in the same worldspace.Ok thanksDid you do It in a new worldspace or inside Skyrim?As i wrote, all that i did was in the same cell... the player must active a trigger that is litteraly over the boat and the coordinates to reach in my test are close the boat... in plus i can see in the CK if all is listed in the same cell and it's so Link to comment Share on other sites More sharing options...
maxarturo Posted July 30, 2022 Share Posted July 30, 2022 "Did you do It in a new worldspace or inside Skyrim?" Both. I don't know what else to say about your issue or pinpoint the solution without looking myself at the whole set up myself. Link to comment Share on other sites More sharing options...
maxarturo Posted July 30, 2022 Share Posted July 30, 2022 Maybe your coordinates are the problem, try it with the function 'TranslateToRef()' as suggested by Sphered. Place an xMarker as your destination and translate the boat there. Link to comment Share on other sites More sharing options...
Sphered Posted July 30, 2022 Share Posted July 30, 2022 Game.GetPlayer().SetPosition(PX,PY,PZ) If you appear at the place you expect, then you know you have good coords. If you dont, then you know you need to rework Link to comment Share on other sites More sharing options...
Tiziano74 Posted July 30, 2022 Author Share Posted July 30, 2022 (edited) Game.GetPlayer().SetPosition(PX,PY,PZ) If you appear at the place you expect, then you know you have good coords. If you dont, then you know you need to reworkWellI did the test with the Game.Getplayer and the SetPosition worked, so I also tested with the boat.if i use the SetPosition it works TranslateRef1.SetPosition(PX,PY,PZ) if i use the TranslateTo to the same coordinates it dsnt work TranslateRef1.TranslateTo(PX,PY,PZ, 0, 0, 0, 10, 0) Edited July 30, 2022 by Tiziano74 Link to comment Share on other sites More sharing options...
Tiziano74 Posted July 30, 2022 Author Share Posted July 30, 2022 Maybe your coordinates are the problem, try it with the function 'TranslateToRef()' as suggested by Sphered.Place an xMarker as your destination and translate the boat there. I have already tried this solution too ... but no movement Link to comment Share on other sites More sharing options...
Recommended Posts