Open rbakerusw opened 7 years ago
It turns out that with latest version the ant does follow the block, although it only work in vertical mode (digging)
For mining(horizontal) we would have to update the pos of the ant correspondingly to shrinking cube to make the illusion that ant follows the block
I was talking to Tom about this and he suggested that when you trigger the digging, to perform ray casting to detect the distance of the block and when the distance gets too high move the ant forward so it always maintains the correct distance.
I will try to fix this issue.
Hey guys, i was wondering if you could help me with something I was using a ray tracer to try and calculate how far the block is away from the ant but I am not sure how to calculate the distance using the ray tracer. For now I am going to do a simple implementation that just makes the ant move forwards.
I run into a slight problem, I tried to move the ant but I couldn't get it to move successfully. I'm not sure what is preventing it from moving, I have uploaded what I have done so far. All the code is within the animation switcher macro for now.
I have tried to implement a basic version of this but when I use the blueprint SetActorLocation its seems to have no effect on the location of the ant. Im not sure what is causing it not to move.
Currently, when a block is being dug the ant does not move with it. We should set it so the ant follows the block as its being dug to make it more visually appealing.
Here is an example of the issue:![movementbug](https://cloud.githubusercontent.com/assets/22525915/24004978/adc44a00-0a5f-11e7-9885-abba726df985.PNG)