Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Problem sphere

camagames
Registered User
Quote
2018-06-20 15:22:17

hello to all you can enlarge a sphere during the game there a code pwr this? thank you


just_in_case
Moderator
Quote
2018-06-20 16:57:47

Yes, you can enlarge a sphere by scaling it up during runtime..

You can use something like this code
var s= ccbGetScenenodefromname("spheremesh")
Ccbsetscenenodeproperty(s,Scale,2,2,2)

Something like this would work...


camagames
Registered User
Quote
2018-06-20 18:48:51

thanks but the code rotates the ball does not thank her ..


just_in_case
Moderator
Quote
2018-06-20 18:55:56

May be you are using the Rotation attribute... Try using scale attribute... It will scale the sphere...


camagames
Registered User
Quote
2018-06-20 18:59:14

settled. but not fiction from error on ccbgetscenenodefromname


bob
Guest
Quote
2018-06-21 10:54:14

you can use the special plugin "Animated Scale".
download here:
https://www.ambiera.com/coppercu...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

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