I've just created an exploding barrel animation, when you blow up barrels now they go flying into the air! Look really cool!!
And the collision to ceiling thing I've got round that by saying if the hit points on a grid position is >-1 and the grenade is less that 2/3rds through it's path then it won't collide. This means you can throw grenades over the top of barrels... It's very cool... The downside is that you can also throw grenandes through closed doors... Hmmm... maybe needs a bit of tweaking... That said, I don't think doors should be shootable anyway so they could all be set to -1.
OK, before anyone pipes up... Why do I think doors shouldn't be shootable...
Well... If the map design is done in such a way that you only need to use a keyed door to progress to the next bit then most of the doors will be keyless, therefore no need to shoot them open. There may be some special instances where this is not the case but I think doors should be indestructable for the sake of level design.
And the collision to ceiling thing I've got round that by saying if the hit points on a grid position is >-1 and the grenade is less that 2/3rds through it's path then it won't collide. This means you can throw grenades over the top of barrels... It's very cool... The downside is that you can also throw grenandes through closed doors... Hmmm... maybe needs a bit of tweaking... That said, I don't think doors should be shootable anyway so they could all be set to -1.
OK, before anyone pipes up... Why do I think doors shouldn't be shootable...
Well... If the map design is done in such a way that you only need to use a keyed door to progress to the next bit then most of the doors will be keyless, therefore no need to shoot them open. There may be some special instances where this is not the case but I think doors should be indestructable for the sake of level design.