I’m tying to make a model (an ammo can) be placed on the terrain a player was standing on. However I need the model to conform to the terrain.
The problem I’m having is that im not quite sure how I would achieve this. My guess would be to make two raycasts (one from the red to the other red, and one from the blue to the other blue) to find the angle of the terrain but im not quite sure how I would find the angle because if its being placed on the tip of a triangle it would break.