Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 08:31:09 pm
Xith3D CommunityGeneral CategoryGeneral Discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)questions on frstperoninputhandler
Pages: [1]
Print
Author Topic: questions on frstperoninputhandler  (Read 843 times)
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« on: 19. March 2007, 01:55:43 pm »

I am in the process of syncing my stuff with the current xith3d.   How can I set movement forward without using key pressess???  I want to use the middle mouse to start a continuous forward movement until it is pressed a second time
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 19. March 2007, 09:04:20 pm »

I am in the process of syncing my stuff with the current xith3d.   How can I set movement forward without using key pressess???  I want to use the middle mouse to start a continuous forward movement until it is pressed a second time

Subclass the FPIH and override the pollKeyStates() method. You will want to manipulate the isMovingForward variable.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic