PDA

View Full Version : Get a model to stay on ground



akuma2099
4th October 2015, 04:06
When the claymore is anywhere on the map, the model will always end up on the ground, even if the player plants it in the air, or infront of a ladder that goes down, the claymore won't end up in mid air, in the same position the player is, although with a tactical insertion model I made, it does, the model will end up in the air if planted there, how would I always make the model land on the ground?

IzNoGoD
4th October 2015, 10:23
just bullettrace downwards and plant on trace["position"], optionally with trace["normal"] with vectortoangles() for angles

kung foo man
4th October 2015, 23:43
Dejavu: http://killtube.org/showthread.php?1847-Spawn-Model-on-ground&p=9296&viewfull=1#post9296

akuma2099
5th October 2015, 14:01
just bullettrace downwards and plant on trace["position"], optionally with trace["normal"] with vectortoangles() for angles

Thanks, worked :)