Jump to content

LE3 : align to Vector ?


YouGroove
 Share

Recommended Posts

Again youGroove this is a standard 3d vector issue, a simple google "Vector from 2 3d points" (ill even link it for you here) will provide many many threads and websites that describe how to do this and it is all related to vector math which in turn can all be done in leadwerks, you dont need another leadwerks user to explain it. Although what i think your after is another leadwerks user to script it for you, which really isnt the best solution.

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

Thanks Andy.

Again i searched for Vector and Lua in Google some good half hour without good results.

Perhaps i should only find a general math forumal and try to write it in Lua using good Lua Math same functions ?

 

I need it, more , caus i have a complete projectile script manageùent that runs well , but it don't follow weapon alignment also sad.png

 

No so easy :

http://www.physicsfo...ad.php?t=416005

http://www.glbasic.com/forum/index.php?topic=4614.0

 

I'm not good at Math and vectors.

I htink we will need some Lua Math library doing function really needed like :

TurnToObject

AligntToVector(point3D1, point3D2)

etc ...

 

I can't imagine beginner programmers having to go maths or 3D artists laugh.png

Stop toying and make games

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...