PS4 Controller Python Script – Blender Game Engine




Here is an example on how to set up a Playstation 4 controller with only one python script.

I have uploaded this on CG-Trader for free download:
http://www.cgtrader.com/free-3d-models/electronics/computer/blender-game-engine-ps4-controller-python-script

For the Blender Game Engine (Blender 2.74).

PS4 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 provide the input (Keys_and_Mouse.py).

Have fun 🙂

———————————————————————————————-
Just some websites I’m using and some links
where you can download my 3d stuff
for your projects 🙂
———————————————————————————————-
My Blog:
https://3dartdh.wordpress.com

My 3d models and animations at Sketchfab:
https://sketchfab.com/dennish2010

My gallery at Artstation:
https://www.artstation.com/artist/dennish2010

My public profile at Blendswap:
http://www.blendswap.com/user/DennisH2010

My public profile at Sharecg:
http://www.sharecg.com/pf/full_uploads.php?pf_user_name=dennish2010

My public profile at CGTrader:
https://www.cgtrader.com/dennish2010

My public profile at Tf3dm:
http://tf3dm.com/user/3dhaupt

My new Youtube Channel:
https://www.youtube.com/3DHaupt

My old Youtube Channel:
https://www.youtube.com/user/DennisH2010

My public profile at Minds:
https://www.minds.com/DennisH2010

My public profile at Myminifactory:
https://www.myminifactory.com/de/users/DennisH2010

My public profile at 3dexport:
https://de.3dexport.com/dennish2010

My public profile at Deviantart:
http://dennish2010.deviantart.com
———————————————————————————————-
Have fun!

Voir sur youtube

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0