Spawning a prop at the right height without it falling
💬 General•Updated 2 days ago•1 views
Get the prop's bounding box and add half its height (obbMins z offset) to the target Z. For swapping a fading prop for a new one at the same spot: newPos = (old…
Best way to spawn a prop at the right height so it does not phase/fall into the ground
Get the prop's bounding box and add half its height (obbMins z offset) to the target Z. For swapping a fading prop for a new one at the same spot: newPos = (oldPos + Vector(0,0,oldEnt:obbMins().z)) - Vector(0,0,newProp:obbMins().z).