This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dragengine:modules:dragonscript:abstractions [2020/05/05 20:15] – dragonlord | dragengine:modules:dragonscript:abstractions [2020/05/05 20:16] – dragonlord | ||
---|---|---|---|
Line 76: | Line 76: | ||
// create head lights. attached to collider with id " | // create head lights. attached to collider with id " | ||
headLightLeft = ECBehaviorLight.new(this, | headLightLeft = ECBehaviorLight.new(this, | ||
- | headLightLeft.getLight().getColor().setColor(Color.YELLOW) | + | headLightLeft.getLight().getColor().setColor(Color.yellow) |
headLightLeft.getAttach().getPosition().setVector(Vector.new(-1, | headLightLeft.getAttach().getPosition().setVector(Vector.new(-1, | ||
| | ||
headLightRight = ECBehaviorLight.new(this, | headLightRight = ECBehaviorLight.new(this, | ||
- | headLightRight.getLight().getColor().setColor(Color.YELLOW) | + | headLightRight.getLight().getColor().setColor(Color.yellow) |
headLightRight.getAttach().getPosition().setVector(Vector.new(1, | headLightRight.getAttach().getPosition().setVector(Vector.new(1, | ||
| |