Difference between revisions of "Determining Ground Position"
Jump to navigation
Jump to search
no edit summary
imported>Sykotik |
imported>Guidobot |
||
Line 10: | Line 10: | ||
i've found a way: Move an actor into the floor, wait one frame and check his z coordinate afterwards. it works. --[[User:JustTim|JustTim]] 14:10, 10 May 2006 (EDT) | i've found a way: Move an actor into the floor, wait one frame and check his z coordinate afterwards. it works. --[[User:JustTim|JustTim]] 14:10, 10 May 2006 (EDT) | ||
For levitate spells I do something very similar. If you set the z coord and then next frame get the new z coord, if it is the same (or higher) you have hit the ground. You can detect explosive wall collisons in a similar manor but this is harder. -- Guidobot | |||
How do you spawn items in game which fall to the ground with havok? (Off topic: how do you additem in the console: it always says that it can't find the object id i type) --Sykotik | How do you spawn items in game which fall to the ground with havok? (Off topic: how do you additem in the console: it always says that it can't find the object id i type) --Sykotik | ||
[[Category:Questions]] | [[Category:Questions]] |