WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-19-2013, 04:24 PM
javadi javadi is offline
Member
 
Join Date: Mar 2013
Location: London
Posts: 33
Adjusting the centre of an object

Hi,

I have a set of .dae files, each containing one object. The objects are not centred in the files. I am wondering whether there is any way to centre the objects in Vizard using programming?

More details... I want to create a grid of objects and I need to put them exactly at the nodes. I used .getPosition() method to look at the position of the object within the .dae files, but it always reports [0, 0, 0]. I used .center method as well. It doesn't make sense though, as this method is also based on the origin of the .dae file, rather the object in it. Any suggestion would be highly appreciated. Very many thanks.

Greetings
Amir
Reply With Quote
 

Tags
center, centre, object


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
AMD graphics hardware seems not to preload object sleiN13 Vizard 2 03-20-2012 06:08 AM
retrieve Object names Geoffrey Vizard 11 12-11-2009 04:26 AM
Making an object to appear after other object done animating jaylocco Vizard 2 07-13-2009 06:17 PM
rotate to object jargon Vizard 1 08-08-2005 12:20 PM


All times are GMT -7. The time now is 08:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC