mordentral
(mordentral)
February 15, 2020, 5:35pm
3724
JMDEV18:
Hi,
I’m using great plugin, and learning something new everyday, but don’t know how to solve : I have a building with two floors and some furniture; I’ve created a Navmesh that occupies all the floor area , and when you’re in the first plan and point to somewhere you’re teletransported (using in teletransport mode), ok. If you point to the second floor (looking to the ceiling you’re teletransported,ok. But if you’re in the first plant and point to a place there’s a furniture (that has collision) the teletransport are icon is drawn in the ceiling and you’re send to point; the furniture has to have collision volume (chairs, tables that you can grab).
I have tested with independent Navmesh in every floor, but the problem is present; I can’t deactivate volume collision in objects because I want to hit with them and grab them…do you have any idea how to solve ? I could modify the system to go up to the second floor (with stairs or with a lift) , but because the floor has volume collision , it’s detected from down when pointing to a furniture and don’t want ; and the obviously answer: “don’t point to furniture“ it’s not valid, because the place is a school with lots of tables and chairs. Thanks
Either move the checking point downwards so that it projects to the correct nav mesh or run some clamping logic that prevents teleporting outside of a set range where it attempts to get the teleport location. You can also make things ignore the teleport trace.