Download

Placing objects in scene through map

Hello! Sorry for the vague description in the thread title but what I want to accomplish here in blueprint is kinda hard to explain. I am making a tower defense-like game where the character has a first person view and can set traps by interacting with this 3d map. I want the player to be able to click somewhere on the map and have a trap appear somewhere in the scene. Kinda like Kraven Manor’s room arrangement system. I was thinking I could have a raycast and if the player clicks on the map, the blueprint translates the raycast’s position with a position in scene. I’m not entirely sure how to do this because it’s kind of a confusing concept. Any help on how to achieve this is greatly appreciated. Thanks! Cheers.

Hi

You know how big you map is, so on mouse click, get screen location.

You know how big your map is, so you should be able to do a little math and convert screen location to world location.

Narg