Jump to content

Search the Community

Showing results for tags 'PlayerActor'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 4 results

  1. Hello! I apply force to the PlayerActor so that it moves horizontally. Logically, it should be uniformly accelerated (using gravity as an example), but its speed will fluctuate from 1.2-2. It seems as if something is stopping him from accelerating. In the vertical plane, everything works correctly. I use addForce() in the flush() function. And if I’m doing exactly the same but applying force to the created figures in maps, then everything works correctly. This effect is only in PlayerActor. PlayerActorPtr actor = PlayerActor::cast(Game::get()->getPlayer()); if (actor) { BodyRigidPtr obj = BodyRigid::cast(actor->getBody()); if (obj) { obj->addForce(obj->getCenterOfMass(), Math::vec3(0, 9.81f*obj->getMass(), 0)); } }
  2. I have playeractor problem

    hi , i'm studying for Unigine. i have a problem. I saw sample ' actor01' and i knew playeractor is need to move physics playermoving. playeractor works when playeractor pivot is appeared in my camera. However, playeractor pivot is not in my camera , playeractor doesn't work. please help me how can i solve it.
  3. Hi, I was trying to simulate bullet(has body) collision with a custom AI class that has a PlayerActor instance. How do I detect if the bullet has hit the PlayerActor capsule shape? Currently, from the bullet's contact callback function, I am receiving a contact with a body (of AI). I presume this body is PlayerActor class's body (playerActor.getBody()). Now that I have found this body, how do I find it's PlayerActor?
  4. [SOLVED] PlayerActor & editor

    To move objects using PlayerActor, when I add it to the editor in an errors. PlayerActor actor = new PlayerActor(); add_editor(actor);
×
×
  • Create New...