Forum rules - please read before posting.

Pickup point wrong?

I'm trying to create a pickup object and have an issue with the pickup point.  I went through the basic tutorial and found the pickup point generated when I do run is incorrect. 

If I add a new pickup and position it.
The pickup is at 0,0,-12.07  (Note the z is minus)
If I do a run before I add an object the pickup point is correct.

Now I delete the sphere.
Add a child object. (Model)  The barrel from the demo.
Add a second child object and add a mesh collider.
Then run.
The pickup point is at 0,0,12.07  which is wrong as z should be negative.

Not sure why the -12.07 gets converted to 12.07 but obviously something is not right.

I tried other objects but get same issue.  The pickup point is not set correctly.


Any ideas?
Thanks John





Comments

  • Well I switched to a box collider instead of a mesh collider and it seems to work.  
    ie: 
    I can hold the object an move it around.
    Not sure why the mesh collider didn't work.

     
  • Did you check "Convex" in the Mesh Collider Inspector?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.