≡
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: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: Thanks for your reply. I am using Coppercube. When i use [code]alert( yourNode.Pos );[/code], It shows undefined. But when I use [code] var s=ccbGetSceneNodeFromName(j); var position = ccbGetSceneNodeProperty(s, "Position"); alert(position); [/code] It shows an output How can I get the x,y,z from it and add a value to each of it?[/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