|
| 23 Sep 2016 07:48 PM |
| Using pathfinding of course, but I have no idea on how to make it go up and down. Maybe a body force inside its main part, and just move that toward the target but how would I change it and move it forward, up, and down..? |
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 07:56 PM |
| Within a max top and bottom Y axis. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Repsej112
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 205 |
|
|
| 24 Sep 2016 03:14 AM |
| You can use CFrame interpolation which I dont have any knowledge of |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 03:53 PM |
| I need wiki links, and opinions on the best way. (There will also only be ONE AI unit, and it will be handled by the server so something that can loop off the server everytime the countdown changes.) |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 03:59 PM |
| make it go up and down how? in a 90 degree slope or in something like stairs? |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2016 05:01 PM |
Rocket Propulsion
http://wiki.roblox.com/index.php?title=API:Class/RocketPropulsion |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:22 PM |
| use any type of body mover and if you know how to make it move to the next point then you should know how to make it move upwards and downwards which the path already does |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 01:36 PM |
| Also how would I make the path finding go up (directly.) |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 25 Sep 2016 01:38 PM |
| Pretty sure pathfinding doesn't go up directly. It it detects a path it can travel up (such as stairs) then it goes up |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 01:51 PM |
| Search up the A* algorithm then ask yourself that question. |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 08:40 PM |
| If I knew or understood I wouldn't be asking for help. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 25 Sep 2016 11:09 PM |
| Imagine a fish that can move to get its food (plants.) It must move up and down, left and right to get to its food so it can get it. |
|
|
| Report Abuse |
|
|
Excentic
|
  |
| Joined: 14 Dec 2015 |
| Total Posts: 328 |
|
|
| 26 Sep 2016 01:43 AM |
Animation? I know it might look bad, but use the x,y,z axis (position) in your script.
Not that I know anything about scripting, but it just might work. |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2016 10:28 AM |
'Rocket Propulsion' I need something that is anchored and can only be moved by itself (and scripts of course.)
|
|
|
| Report Abuse |
|
|
|
| 27 Sep 2016 10:36 AM |
| Other opinions on the BEST way to do this? |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2016 10:43 AM |
To specify what I'm trying to do:
Make the head of the fish go up or down and move to try and get its food. |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 27 Sep 2016 07:48 PM |
The only way I could think of this would be to use pathfinding.
And determine if the target is above the fish, move it up. Vice versa if it is below |
|
|
| Report Abuse |
|
|
iIikeyou
|
  |
| Joined: 07 Mar 2012 |
| Total Posts: 1659 |
|
|
| 27 Sep 2016 07:50 PM |
| why pathfinding? are there obstacles? why would you not just move directly towards the food (sans a 'cartoonfactor,' see rocketpropulsion) |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 27 Sep 2016 07:52 PM |
But then you might have something like this:
------------| ----------------| Food | | | ----- |_____| |-----| | | | | |--- | | | <>< -- fish ------------------| |_______
That is what you would have trouble with. Is determining how to tell the fish to left, then up, then left, then down, then left, then up, then finally left to the food. |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 27 Sep 2016 07:53 PM |
| Stupid forum messed up my drawing :( |
|
|
| Report Abuse |
|
|