≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
get current position of a object and change it
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b][/b] wrote: If you have your object, which is usually a sub class of SceneNode ([url]http://www.ambiera.com/copperlicht/documentation/symbols/CL3D.SceneNode.html[/url]), then use its .Pos property. It's the position relative to its parent, but in most cases, this should be enough, since most objects are directly in the root, usually. To create a message box with the position, do for example this: [code] alert( yourNode.Pos ); [/code] For changing for example the .x position, do this: [code] yourNode.Pos.X += 10.0; [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact