Jump to content

constrain problem


Recommended Posts

I think the problem is that you're not computing the rotations in the right space. I've attempt to correct that in the attached file. The gun though, I've left to move freely as I think that mimics more closely the real world situation. Of course in the real world, there's limits to the gun's rotations. :)

constrain_problem2.hipnc

Link to comment
Share on other sites

I think it's very ok. It's what I was looking for. The gun and the turret should not spin over and over like in real world, but it's just about the principle, so I was not interested in that. The perfect aiming tough it's very realworld like. Nowadays there are systems that can aim a target while still moving freely on the terrain. That is what I was trying to achieve. I see you used Objects CHOPs whitch I didn't knew how to work with. But that solved the problem. Anyway it's a bit more complex than I expected. When I first started I thought it would be easier. Many thanks. If anyone could make it in some other way I would appreciate. Thank you !

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.

×
×
  • Create New...