What's the maximum density?
AfterBurnett
Member Posts: 3,474
I have a couple of asteroid actors, one small, one large. I want the small ones to bounce off the large ones but the large ones shouldn't move at all (apart from across the screen as it's a side scrolling game). I have set the density so high on the large one that is says 1e+15 in the density box but it STILL moves slightly when hit by the smaller object (density 1000). What should I do?
Comments
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Could you not just put rules in the smaller asteroids to have the move when they hit a larger one, then not include this rule in the larger asteroids???
QS :O
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
You can still utilize the "overlaps or collides" conditions of Rules without using a Collide behavior.
i.e:
Rule
When all conditions are valid:
Actor receives event overlaps or collides with Enemy Ship
-----Change Attribute: game.health To: game.health - 20
This will still work just fine, even when there is no Collide behavior. Then you don't have to worry about density at all.
The problem I'm having is that sometimes they get knocked off their path only slightly but it's enough to close up gaps and not allow my ship to pass.
I haven't gotten to that level!