Giter Site home page Giter Site logo

anu-prakash-dev / godot3dcharacterlookatcontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smix8/godot3dcharacterlookatcontroller

0.0 0.0 0.0 7 KB

3D Character LookAt Controller and Gameworld Objects for Godot 3.2

License: MIT License

godot3dcharacterlookatcontroller's Introduction

Godot 3D Character LookAt Controller and Gameworld Objects

Example project made with Godot 3.2 โ€ฆ still working on a release. This is just here for linking and as a reminder for myself to not forget about it.

Update: Turned out Godot has performance issues and bugs at the moment with direct skeleton bone manipulations. After waiting a few months for fixes I got tired and made a guide how to achieve a similar lookat effect with blendshapes and animation poses (that has a tiny performance footprint). I still might go back to this when things change. https://github.com/smix8/Godot_3D_Character_LookAt_Guide

look_at_me look_at_controller

Features | Examples:

  • Template for a 3D LookAt Controller to drop on your actors skeleton to make them more believable
  • Example how to control a characters head and eye movement to look e.g. at the player or interesting objects in the gameworld
  • Example for Point of Interest placement in the gameworld that will be viewed by actors with LookAt Controller
  • Example controls for forced look position, focus time and sandbox behaviour with search in the surrounding area
  • Example for Searchradius to pick closest available or random position and avoid picking objects behind walls
  • Example how to use export variables to adjust a characters interest in certain targets
  • Examples how to fix common pitfalls with wonky imported skeletons or engine madness
  • Ruby colors!

NOT included:

  • The demo characters are not included, bring your own 3d character actors.
  • I personally use blender and rigify skeleton bones but any decent skeleton will do. You will only have to find out what are the correct bone names for your head and each eye and play around with rotations to get them into a somehow decent starting position.

Setup | Usage

Step 1 - Wait until finished

... still working on it. This is just here as a reminder for myself to not forget about it.

License

MIT or my personal 'Don't care' license, do whatever you want with this example and create something "to look at" (haha) in Godot.

Known Issues

Since the last few updates Godot has small problems with skeleton bone overrides and inverse kinematic resulting in some glitches.

godot3dcharacterlookatcontroller's People

Contributors

smix8 avatar

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.