>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Archives > Archives > Scripting & coding
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 21-02-2005, 01:47 AM   #1
CorrinWyndryder
Registered User
 
Join Date: Feb 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MaxScript Rotation Questions.

1) I am currently using 3DS MAX r6, but have access to r7.

2) I'm using the built in MaxScript scripting engine with MAX r6

3) I want to generate a script that will rotate an object to look at another object. I can generate the Matrix3 XYZ position of both nodes, and find the Quat Rotation of the first node.

I want to rotate that node by a / b degrees, where a is the shortest possible distance between the Node's Current Quat Rotation and Target Quat Rotation and b is maximum degrees a Node can naturally rotate in a single frame.

This result would help with an outer space dog fight, so rotation is necessary.

4) The problem is, I'm not sure how to make Quats work.
CorrinWyndryder is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission