≡
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: "?nternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Ah, you posted this into the CopperLicht forum, so I assumed you are using the CopperLicht API. The calls you are using, all starting with ccb, are the CopperCube JavaScript calls. But you can use them as well. Changing a position there works similar: [code] var s=ccbGetSceneNodeFromName("name of your object"); var position = ccbGetSceneNodeProperty(s, "Position"); position.x += 10; // now set the modified position into the objects position again: ccbSetSceneNodeProperty(s, "Position", position); [/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