Is it a bug?

MankoManko Member Posts: 20
edited November -1 in Tech Support
I'm not sure it's a bug, but I've tried two ways to do this and it should work either way if I'm not mistaken.

The problem: I'm trying to change my Actors physics.density in midgame, but nothing is happening. I've tried to use the Change Attribute and simply state self.physics.density = 20 (arbitrary number, not really important), but nothing happens as I run the game. I've tried simply changing the attribute so I know I should have a good impact if I changed it, but alas no effect.

Then I tried setting up a Constrain (Density)Attribute to another attribute which I altered instead, but again without result. I checked by adding a Display Text and can confirm that it thinks that the Density is set to 20, but there is no effect game wise.

Is this a bug or do I need to update the Actor in some way to make this work?


  • MankoManko Member Posts: 20
    I get the Lock.
  • MankoManko Member Posts: 20
    Yes, setting the density before running the game produces the effect I'm after.

    Basically, I want to control how heavy the Actor is for collision purposes.
  • MankoManko Member Posts: 20
    I don't know if it will make much sense. Thanks anyway. I'm going to try destroying the actor and spawning another one in its place.

    I was mostly curious if it was a known bug.
  • MankoManko Member Posts: 20
    Well, at least its not a bug then. Anyhow I made a workaround and it works, so I wont bother you with a screen shot. Thanks for all your help. :-)
Sign In or Register to comment.