SXcreations.com SXcreations Community Forums

Register Calendar Members List Team Members Search Frequently Asked Questions Go to the Main Page

SXcreations Community Forums » LightRay3D » RAYscript » Script Request » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Script Request
Author
Post « Previous Thread | Next Thread »
scorpiomidget scorpiomidget is a male
Member


Registration Date: 10-22-2006
Posts: 27

Script Request Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Wonder if I could ask you for a bit of a favor Smile

I don't have the time atm to delve into the scripting language and do it myself, so i'll be cheeky and see if youll do it for me.


Need a script that will:

a) ask for a bounding box dimension, lets say on the X axis.
b) calculate the center of the selected object(s) bounding box.
c) move that center so it's @ (0,0,0) world coords.
d) rescale so it's new bounding box width will match that in "a)" and rescale the other 2 axis as per the original ratio of the 3.

__________________
Scorpiomidget
Working on his Multiplayer game "Aquaverse"
10-24-2006 18:31 scorpiomidget is offline Send an Email to scorpiomidget Search for Posts by scorpiomidget Add scorpiomidget to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
SXcreations Community Forums » LightRay3D » RAYscript » Script Request

Forum Software: Burning Board, Developed by WoltLab GmbH