• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] The status of the INPC SDK keystroke
#1
Good afternoon.
There was a problem when using the setKey function from the OpenMP SDK of the INPC component. The bot just stands in one place.
What could be the cause of this problem? Is it possible that the bot just froze? Or is it all about functionality and lack of physics?


Code:
INPC* npc_ = NPC_Component->create("Bot_Test");
npc_->spawn();
npc_->setSkin(74);
npc_->setPosition(Vector3(2.7658f, 1511.2421f, 12.7560f), false);

npc_ ->setKeys(-128, 0 , 0);


If you use the function
Code:
void setVelocity(Vector3 position, bool update = false) = 0;

If you use the function

P.S: I'm sorry for my English.
  Reply


Forum Jump: