Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
If I have an equirectangular heightmap and want a character to instantly teleport "move by vector in facing direction, how can I avoid retriggering the teleport action when instantly jumping to other side of the map? The node on the other side of the map sends me back where i started. The directional proximity behavior uses a center point of a node to detect directional movements towards it. How would i make it so the character jumps across the terrain. Can avoid a ping pong effect by temporarily cloning a set nodes to change a position of the player and then removing them? |
||||
|
I don't understand it very well. but it seems that you enter an area with your character and there is a teleport with the behavior "in proximity do something" so it sends the character to another side of the map but in this place there is also a teleport that ends up sending him back... do you understand? |
||||
|
I guess was just mixing up the 2 behaviors on proximity and directional proximity but I am not at home by my pc all I know is that I was having issues when I worked on my project. Because the directional proximity uses the object center point I was unable to achieve the effect I was aiming for. As if I placed 4 large nodes around a map the behavior wouldn't detect the player approaching unless it went through the direct center. If made a bunch of nodes zipping across the sides of the terrain there would gaps and the player would walk over to my dummy terrain. Which isn't infinite. |
||||
|
The "on proximity" of course caused the ping pong situation. I have 9 of the terrain tiles surrounding a main center tile. Which is the play area. The adjacent tiles are the same as center but are just there as visual "dummies" |
||||
|
That's 8 adjacent tiles. Lol. Eight surrounding the 9th which is the center play area. |
||||
|
without a photo or drawing, it's hard to understand. |
||||
|
Checkout my itch.io page, I have an extension for directional proximity. I also have another extension (not uploaded to itch.io) same as directional proximity which check the box behavior instead of the center point, I will upload that extension soon, it's already lying on my PC. So maybe that might help you. You can have a look at my other extensions as well:- https://vazahat.itch.io |
||||
|
Well, I am looking forward to the new directional proximity behavior. I think would also very good ai and weapons in fps and tps games as well. |
||||
|
Correction: it would be good for those purposes I mentioned above. |
||||
|
|