Slayer Posted January 8, 2022 (edited) Perhaps I misunderstand the "Projectile" flag, but can anyone explain why my "glass shards" bounce normally, but when they lose momentum, right before they stop bouncing, they actually disappear? I actually want them to hang around for a bit. ACTOR glass_shard1 29026 { Gravity 1 PROJECTILE -NOGRAVITY +BOUNCEAUTOOFFFLOORONLY +ALLOWBOUNCEONACTORS +BOUNCEONWALLS +BOUNCEONFLOORS +BOUNCEONCEILINGS BounceFactor 0.5 BounceType Doom friction 0.8 mass 100 Radius 1 Height 6 scale .02 renderstyle translucent alpha 0.45 States { Spawn: GSHR A -1 stop } } I've deleted it, but before I had a Delay() and then A_Remove to despawn all glass shards. (to clean up actor count). This worked well, but after implementing the bouncing, they just disappear way before the delay timer ever got done. Edited January 8, 2022 by Slayer 1 Quote Share this post Link to post
Captain Toenail Posted January 8, 2022 I think BounceType Doom actors go to their death state when their velocity hits zero. The default actor death state is just to disappear. You could put a custom death state in there or try Hexen bounce. 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.