GithubHelp home page GithubHelp logo

Allowing Player Motion about fpsci HOT 7 CLOSED

nvlabs avatar nvlabs commented on July 28, 2024
Allowing Player Motion

from fpsci.

Comments (7)

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

@jspjutNV has indicated this will not be hard to enable (look at use of setMoveRate() in line 123 of App.cpp though avoiding issues w/ targets in walls is another story. We should also vet whether or not m_userSettingsMode is being used correctly here (allows you to move even when playMode = True up until you close the tab menu for the first time.

from fpsci.

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

A recent commit updates the GUI for playMode=False to allow player motion based on a checkbox. The speed of player motion is not yet controllable. This should also resolve the bug in issue #19.

from fpsci.

jspjutNV avatar jspjutNV commented on July 28, 2024

Let's make player motion controllable as @bboudaoud-nv suggests by having an experiment config parameter that controls the motion speed. We could also expose that value in the devMode GUI (playMode=False).

from fpsci.

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

I've added a moveRate parameter to the experiment config file as of a recent commit.

This now allows designers to set the player move rate in m/s. There are now multiple issues related to when moveRate != 0. For example the player can now spawn, then move past targets, effectively "losing" them in the scene. In addition, since no collision detection with the scene is enabled, the player can easily move through walls/spawn targets behind them. We should consider what sort of minimal subset of features we will need to implement to get this movement mechanic working well/true to the typical FPS experience. Maybe we should create a new issue to track this development.

from fpsci.

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

Should we add a GUI field to playMode = false to allow the user to dynamically control the move rate while in-game?

from fpsci.

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

A recent commit adds support for changing the player motion speed in developer mode (playMode = false). I'm going to leave this issue open since its original "problem statement" includes things like target motion not being dynamic to the (newly) added player motion.

from fpsci.

bboudaoud-nv avatar bboudaoud-nv commented on July 28, 2024

Let's close this issue for now and create a new issue for target motion not being responsive to player motion, as this is another issue altogether

from fpsci.

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.