≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Spawn object on click
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b]moonchristmas[/b] wrote: Hi! I’m very new to Coppercube and am having some trouble with what I think would be a pretty basic function. I’m trying to build a clicker game where one of the main mechanics will be clicking on a node that will spawn a basic physics object like a sphere out of a chute. I have the node click part working and tied it to a variable that can display the total number of clicks. I can get an existing sphere on the map to clone itself on its current location when I click the node, but can’t figure out a good way to have the sphere spawn at a particular spawn location or a way to have it exist on the map outside of the play area and then move it to the chute location as a clone after the click. I thought maybe treating it like a bullet and having the spawner shoot it out would work but the shoot action seems to remove the sphere’s physics properties so that doesn’t really work. All I can seem to make work is cloning the sphere at its current location, which makes using the original sphere as the spawn point for others difficult when I want to immediately apply physics to it so it will roll out of a chute. Any advice on how this could be approached would be appreciated![/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