I'm getting a weird bug with the "apply force" effect. I have a unit that pushes other units back with its attack. The problem is that when a unit is pushed once, it works fine. The second time the unit does not change in height and just slides backward. Anyone else have a similar problem?
So you're pushing unit with force and lifting it with behavior, but when you attack second time lifting behavior doesn't work? Are you removing behavior after knockback is over?
If your lifting behavior lasts forever, isn't removed and doesn't stack then chances are that new height behaviors aren't applied to unit since it already has the old one :/
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm getting a weird bug with the "apply force" effect. I have a unit that pushes other units back with its attack. The problem is that when a unit is pushed once, it works fine. The second time the unit does not change in height and just slides backward. Anyone else have a similar problem?
Doesn't apply force only move a unit in the 2D pane (in case the unit can move)?
Height changes can be controlled with behaviors as you can see in the shockwave ability in the campaign.
Yes, the two effects are in a set. The problem is that the height only applies once per unit while the force is working fine.
So you're pushing unit with force and lifting it with behavior, but when you attack second time lifting behavior doesn't work? Are you removing behavior after knockback is over?
If your lifting behavior lasts forever, isn't removed and doesn't stack then chances are that new height behaviors aren't applied to unit since it already has the old one :/