lol probally simple but i set up a schematic that uses a rigded body an moves it in to the direction of a waypoint... now problem is it wont stop so now im all kinds of confused
The stop node for rigidbody only stops the continuous moves from the rigidbody steps (which are handled by a special component that's added for them).
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
A rigidbody is best stopped by setting it's velocity to a zero vector (X/Y/Z=0).
The Move node only does the moving once, i.e. it should be called in tick machines to happen each frame (or physics frame). Unless you're using velocity to change the rigidbody's movement, you wont need to stop it.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
The Move node isn't a move to X thing - in your setup, you're using the found object's position as movement vector, i.e. it'll use it as a direction to move into. To use the Move node for this, you'd first need to get the direction from the target's position (e.g. using a Vector3 transform node or just subtracting the mover's position from the target's position).
You should use the Change Position node instead :)
Post edited by gamingislove on
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
i only ask cause change position slows down way to much when it gets near its target...
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
The Move node only does the moving once, i.e. it should be called in tick machines to happen each frame (or physics frame). Unless you're using velocity to change the rigidbody's movement, you wont need to stop it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
thsi is using 2d rigidbodys
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Here GiL helped me to sort out Rigidbody velocity from custom script inside ORK, and it works perfectly. I hope it can help you. :)
My old entry for Indie Game Making Contest 2015
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
To use the Move node for this, you'd first need to get the direction from the target's position (e.g. using a Vector3 transform node or just subtracting the mover's position from the target's position).
You should use the Change Position node instead :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
pic of what i has set up i only need to move 6 units
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames