Jump to content

One problem unigine player change position


photo

Recommended Posts

Posted

Hi

One problem unigine

 

When we execute these two function together, players can change position?

What is the reason for this?

 

BodyRigid b = create_obj(0.5f,float(density),float(mass),float(friction),1,4,inverse(player.getIWorldTransform()) * translate(0,0,-1.5f) ,numbersend);

 

vec3 a=player.getPosition();

b.setLinearVelocity(a * float(Velocity) );

  • 2 weeks later...
Posted

Can you provide a minimal test scene? It's not clear what you mean under "players can change position".

×
×
  • Create New...