How do I change the color of an item with a laser?
2 posts • Page 1 of 1
How do I change the color of an item with a laser?
I just want to change the color of a shape, circle for example, using a laser, and I was wondering how to do this. Thanks!
- Nickcoww
- Posts: 1
- Joined: Sat Jan 13, 2018 4:57 am
Re: How do I change the color of an item with a laser?
In laser:
onLaseHit = (e) => {e.geom.color = [0.4,0.4,0.4,1]}
onLaseHit = (e) => {e.geom.color = [0.4,0.4,0.4,1]}
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests