YouGroove Posted April 10, 2014 Share Posted April 10, 2014 How to directly rotate some object to face the player position in Lua ? If someone have the lua line of code ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Einlander Posted April 10, 2014 Share Posted April 10, 2014 http://leadwerks.wikidot.com/wiki:face-entity Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted April 10, 2014 Share Posted April 10, 2014 also possible with a geometry shader Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted April 10, 2014 Author Share Posted April 10, 2014 @Einlander : thanks , and there is also skycube code, cool (strange it is not hardcoded in the engine). @DudeAwesome : This example is for massive bilboars, would be really great fo distant trees when optimizing big forest. Quote Stop toying and make games 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.