NoIE Posted October 20, 2014 Share Posted October 20, 2014 video: code: function Script:UpdateWorld() self.entity:Point(self.player, 2, Time:GetSpeed() * self.rotSpeed) ---- Can I remove follow 4 line ? rotation = self.entity:GetRotation() rotation.x = 0 rotation.z = 0 self.entity:SetRotation(rotation) .... .... Quote Please forgive my poor English. Link to comment Share on other sites More sharing options...
Thirsty Panther Posted October 21, 2014 Share Posted October 21, 2014 You can download the files from Aggrors videos here http://www.aggrortutorials.com/index.php/viewcategory/3-leadwerks Saves a lot of errors from typos. You may still need to follow instructions from the videos to get them to work. Quote Link to comment Share on other sites More sharing options...
NoIE Posted October 21, 2014 Author Share Posted October 21, 2014 You can download the files from Aggrors videos here http://www.aggrortutorials.com/index.php/viewcategory/3-leadwerks Saves a lot of errors from typos. You may still need to follow instructions from the videos to get them to work. Thank you! but I was just wondering whether I can lock X axis and Z axis with use Point function. Quote Please forgive my poor English. Link to comment Share on other sites More sharing options...
beo6 Posted October 21, 2014 Share Posted October 21, 2014 sure. see the documentation of it here: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitypoint-r167 the second parameter defines the axis. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.