DennisH2010 on DeviantArthttps://www.deviantart.com/dennish2010/art/Ps4-Controller-input-Blender-Game-Engine-521735945DennisH2010

Deviation Actions

DennisH2010's avatar

Ps4 Controller input - Blender Game Engine

By
Published:
1.2K Views

Description

This Blend File is a example on how to setup a Playstation 4 Controller with only one Python Script.

Download on Blendswap: www.blendswap.com/blends/view/…

Download on Sketchfab: sketchfab.com/models/1e915e0dd…

The Script controls all Buttons, the Hat and the Analog Stick input, also the sensibility of the Analog Stick will be recognized.

Controls:  

    Left Analog-Stick or Hat = Moves the Ball
    Right Analog-Stick = Camera Control   
    X-Button = Jump (Hold the X-Button for slower falling)   
    R1-Button = Turbo

If no Ps4-Controller is connected, the Mouse and the Keyboard provides the input (Keys_and_Mouse.py).
Image size
640x480px 62.5 MB
© 2015 - 2024 DennisH2010
Comments3
Join the community to add your comment. Already a deviant? Log In