Spawned circles are glued together

About advanced scenes, and the Thyme scripting language used in Algodoo.

Spawned circles are glued together

Postby eeieeio » Fri Dec 08, 2017 10:31 pm

Hi everyone,
I've searched the forum for an answer, but still need help. If I spawn several circles using onclick{} they seem stuck together even if I move the first one out of the way before spawning the second one they are attached to each other. How can I avoid this and spawn two circles identical yet independent of each other. I'm fairly new, so please go easy on me.

Thanks, Dave
eeieeio
 
Posts: 25
Joined: Thu Nov 30, 2017 7:02 pm

Re: Spawned circles are glued together

Postby Kilinich » Sat Dec 09, 2017 11:59 pm

Looks like you've set same Body attribute for all circles. Just remove all unnecessary attributes from script.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Spawned circles are glued together

Postby eeieeio » Mon Dec 11, 2017 3:09 pm

Thank you. Your help solved my problem
eeieeio
 
Posts: 25
Joined: Thu Nov 30, 2017 7:02 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 5 guests

cron