Coder Social home page Coder Social logo

Movement bug about fcnpc HOT 4 CLOSED

ziggi avatar ziggi commented on May 31, 2024
Movement bug

from fcnpc.

Comments (4)

karimcambridge avatar karimcambridge commented on May 31, 2024

"NOTE: The same is also true for FCNPC_SetAngleToPlayer. If the player is too close to the NPC, the angle will be reversed, causing the npc to stand with its back to the player."

This is EXACTLY my issue.

from fcnpc.

ziggi avatar ziggi commented on May 31, 2024

Confirmed, but I don't know how to fix this yet.

from fcnpc.

NegativeIQ avatar NegativeIQ commented on May 31, 2024

ID_PLAYER_SYNC -> Its never used. How do we sync NPC's? (Probably we dont, server does it for us...)
Can someone elaborate on these?

Last position (arrival at destination) is not synced to players? (Confirm by forcing update - manually send sync packet for npc?)

from fcnpc.

ziggi avatar ziggi commented on May 31, 2024

Problem in what SetVelocity(CVector(0.0f, 0.0f, 0.0f)); is calling before NPC has moved to destination. I added a little delay (300ms) for StopMoving, now this seems to be working good.

from fcnpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.