How to make objects like doors.
#1

Hi,

How to make any object opening like doors?
Reply
#2

set the object on the coordinates position then change the rotation coordinates on the same and then change the rotation X and Z a litle bit change the speed and there ya go
Reply
#3

An object always rotates around its pivot point. For normal doors that pivot point is placed to the side of the door with the hinges, but for any other object the pivot point is in the center of the object. So in short, you can't. At least not without a bunch of trigonometric calculations and even then it probably wouldn't look natural.
Reply
#4

Import doors object and see for yourself...
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
An object always rotates around its pivot point. For normal doors that pivot point is placed to the side of the door with the hinges, but for any other object the pivot point is in the center of the object. So in short, you can't. At least not without a bunch of trigonometric calculations and even then it probably wouldn't look natural.
AttachObjectToObject() I always use the golf ball this should work also you can attach objects to certain ones to inherit dynamic properties such as a rotating object.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)