Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
visible objects always in predefined position

adteam43
Registered User
Quote
2021-07-24 19:15:57

Hello there I want to anyone knows any solution to my simple question.

I have one cube and its moving slow, I want to every time pressing a specific key to appear inside to cube one object smaller than cube (its ok with this I fixed).

But in the center position.

I want appear on object inside to another object but always in the center of the main object.

With other words the following the speed invisible but appear in the center.

It is possible?


VP
Guest
Quote
2021-07-26 00:27:46

Child the object to the cube, set the (relative) position to zero (to make it centre of the cube).

When key is pressed, toggle visibility of object.


adteam43
Registered User
Quote
2021-07-26 01:49:06

Great thank you


just_in_case
Moderator
Quote
2021-07-26 07:04:43

Do as VP suggested or I recommend you to learn core javascript so that you can do stuff with programming things, that will be much more helpful. I also recommend @VP to try javascript. As doing that many actions and behaviors are kinda confusing sometimes and time-consuming.


VP
Guest
Quote
2021-07-26 07:48:34

Yes, definitely just_in_case. It definitely can get confusing if you only ever use built-in actions. I've recently been looking into a bit of scripting and wrote a couple of small scripts yesterday (a spawner which moves things from their current position and places them at a random position).


adteam43
Registered User
Quote
2021-07-26 13:51:55

VP can you give me this script please?


adteam43
Registered User
Quote
2021-07-26 17:08:21

Im trying to learning javascript even from the w3 school website but its not working those scripts.

If anyone had a website with javascript suitable for copper cube please feel free to post it here to visit and learn.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (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