I’m making a game similar to prop hunt and I have the spawn point a little bit above the ground so bigger objects wouldn’t get stuck in the ground, but the smaller objects stay above the ground. Is the a way I can fix this problem? Like a some code that change how high objects will spawn based on how big it is.
What about adding a rigid body to the entities? You can have them lock the x and z position but be subject to gravity. Just load them a split second before player interaction can occur and after the object falls and comes to rest, you can just remove the rigid body if necessary or edit it in any way necessary.
Would something like this be a convenient solution?