Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
lock object to other object

timo
Registered User
Quote
2023-01-12 14:59:01

i want to make a car modifier game, with survival. but i need to lock parts to the car to make the car faster. any scripts for it?


sven
Registered User
Quote
2023-01-12 15:18:47

At beginning if you dont know how to make stuff like this you can just add child objects to your car and switch visible and invisible between them..

just for testing:
lets say you have 2 sets of tires..
add button to your game..
if button 1 pressed set tires1 visible and tires 2 invisible.
if button 2 pressed set tires2 visible and tires 1 invisible.
if button 3 pressed set all tires invisible = no tires on your car.

to lock object to other object just drag and drop object to object on scenegraph.


timo
Registered User
Quote
2023-01-12 20:43:06

thanks! how long have you been doing coppercube?


sven
Registered User
Quote
2023-01-13 10:54:09

wrote:
thanks! how long have you been doing coppercube?


Probably 2 or 3 years kinda actively.
But i dont focus on game making .. i like scripting.


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