Marking a point on a mesh for later use

Hi,

I would like to set certain points on my meshes for later use. For example my character is going to drop items on a table, and I want the items to be dropped on a specific place on the table. Is ArrowComponent the best way to go about it?

Thanks!

I personally would use an arrow if you need to get the rotation later so you can see it visually. Otherwise i would use a spehere and set visibility to false. Then when i want to drop an item i would just get the location of the component.

The easiest and cheapest way to mark a single location with a component is just using a SceneComponent. It does not render in-game, but you can use its location and see it in the editor. Should be perfect for locations on a desk.

If, besides the location the direction also matters, then ArrowComponent is the way to go.

As another solution without components, you could make an InstanceEditable Vector array (or a single Vector if you need only one), and tick in the 3D widget checkbox in the details panel. It’ll place you gizmos for each array item, and update their values when you’re moving these.

Thanks for the answer. I’ll try SceneComponent, and switch to ArrowComponent if it won’t be good enough.