Hi All,
Hoping someone can help to shed some light on an issue I've been having for a while now.
I'm currently creating a 3D game for mobile with a 'vehicle' moving across a plane.
I've been using a movement system based upon a 'click/touch screen to set a target position' using Move Towards Advanced to move my gameobject and whilst it does work, it's never been 100% successful with regards to collisions. I've made sure that the finish distance is 0 and it runs on a fixed update.
I guess what I'm looking to see is if there is a way of doing this using a force-based rigidbody movement rather than a translate position. I have tried Add Force with an impulse set to the Z axis (self) but the results are always a bit odd - especially the way it can sometimes head off into space.
I did try and think of a way to run a "here's the position, now move here" but as a non-programmer, I can't get my head round it and sure I must be missing something obvious.
If someone can give a few pointers, I'd be incredibly grateful.