Author Topic: Object loaded from Blender with bones rotates when the camera rotates  (Read 889 times)

Offline Carlos Mateo

  • byte
  • *
  • Posts: 16
    • View Profile
Hello,

I have a model loaded from blender exported to bones. The problem is that when I rotate the camera around the scene in JPCT, the model seems to be rotated as well and I don`t know why it happens. Any idea??

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1974
    • View Profile
    • http://www.aptalkarga.com
Re: Object loaded from Blender with bones rotates when the camera rotates
« Reply #1 on: February 10, 2016, 12:39:49 pm »
I dont think this is Bones related. do you have any other objects in your scene? are they also rotating with the camera?

Offline Carlos Mateo

  • byte
  • *
  • Posts: 16
    • View Profile
Re: Object loaded from Blender with bones rotates when the camera rotates
« Reply #2 on: February 10, 2016, 05:52:10 pm »
Yes I have another one, but that is OK, remains in the same position and orientation

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1974
    • View Profile
    • http://www.aptalkarga.com
Re: Object loaded from Blender with bones rotates when the camera rotates
« Reply #3 on: February 10, 2016, 07:42:28 pm »
maybe you call setBillboarding?

Offline Carlos Mateo

  • byte
  • *
  • Posts: 16
    • View Profile
Re: Object loaded from Blender with bones rotates when the camera rotates
« Reply #4 on: February 11, 2016, 01:28:48 pm »
Not I'm not calling setBillBoarding...

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1974
    • View Profile
    • http://www.aptalkarga.com
Re: Object loaded from Blender with bones rotates when the camera rotates
« Reply #5 on: February 11, 2016, 01:45:01 pm »
maybe added your objects or root as child of another thing?

try your model in OgreSample. you can rotate the camera by dragging mouse.