Re: Morfit Infinite demo smaller zip
- Posted by Agent Spectre <Email at SPECTRESOFTWARE.CO.UK> May 23, 2000
- 410 views
Mark Wrote: >From my limited knowledge any polygon created is enabled by >default for collision detection so I don't think that should happen. >In the infinite code, collisions are checked for movement forward >or back. Perhaps Pete King has some experience with this? Well Mark collision detection isnt even in Magefire would you believe - I use an internal grid to work out where things are and Morfit_object_set_location to move things inline with this grid - even the unit's gradual movement between grid points is calculated before hand, and the fireball projectiles too, using an algorythm to work out the angle between the grid points. So Im sorry to say Ive not messed with collision detection yet, but you could always do a quick work around by checking the *camera height* and resetting it back to *head height* if it strays too far without, say crouching or jumping. Mind you if the original did not have this in the example, why bother? LOL. Pete King.