Jump to content

Math question


YouGroove
 Share

Recommended Posts

My main problem is that the cable is not aliged with the ball that is jointed.

 

The cable object is just a BSP long cube with lenght of distance ball/joint.

By code i place it at middle of distance and set orientation to ball orientation, but don't seem to be the good method.

 

------------------------------

 

How to test :

-Dezip and put map on map directory of your project

-Put testJoint.lua in base forlder of your project "Script"

- Load map and run it

 

If somone could bring me some math function help ?

post-3271-0-75690500-1398197838.jpg

joint.zip

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...