Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Rotate object with another object

Author
Message
FakeBlood
21
Years of Service
User Offline
Joined: 18th Nov 2002
Location: Alabama, United States
Posted: 9th Jun 2013 06:33 Edited at: 9th Jun 2013 06:56
What would be the easiest way to rotate an object with another object while keeping it's same position relative to the rotated object. Attached an image to show an example.
The big square will rotate and the smaller rectangle should rotate with it and end up where it is on the second part of the image.

[EDIT] I think CreateWeldJoint did the trick.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-05-03 02:16:13
Your offset time is: 2024-05-03 02:16:13