hey do you know how press two buttons at the same time to perform an action and it wouldn't interfere with the other buttons. for example I press up and left at the same time and he goes in the upleft direction then when an add an sensor for him to just go left he goes left but it interferes with my upleft action there making him go left when i press up and left. is there anyway to cancel buttons when i do this
@Alusaint Maybe you can use two keyboard sensors which you will connect to an AND controller. The sensor with the key you want to activate the controller (e.g. the left button) will be positive and the sensor with the key(s) e.g (the up key) will be negative. So when you press left and up only left will trigger the action.
@Alusaint Every sensor has two icons with three dots. The one with the dots at the upper side of the icon is the positive (or true in Blender 2.5+) pulse and the other with the dots at the lower side of the icon is the negative (or false) pulse.
I need it so my cross air is on and constrained to the x axis (the same as my character). I have managed to have it on the x axis, but then it barely moves when i wiggle the mouse. I Hope that's clear, if not just message me.
@SomeoneNamedTom You need a script that puts the mouse cursor always at the center of the screen. When you move the mouse to the right the cursor will move right some pixels & return. All you have to do is activate a rotate actuator when mouse cursor is at x coordinates left/right of the halfscreen X coordinates. Be sure to leave a space for half screen coordinates e.g 5-10 pixels or else the slightest movement will rotate the cube. So you rotate when x coord is less/more than halfscreenX -/+5.
@pananag I have been trying do the same thing but always ran into trouble with the mouse look. Could you post the script and/or a example blend file? You would be a hero if you did.
@1locationproductions I can write a script for you. It is just that there are many ways to do it. Tell me what exactly you need, so I can implement the best method.
No. I just used my imagination and bits of python scripting. My method consists of the following: First create an action with 90 or 180 frames thar represents the bending animation. Then correlate each frame to the angle mouse cursor forms to the hero e.g if mouse cursor angle forms 45o angle, the 45th frame of the action will be activated. Hope I helped. If not, tell me and I'll try to explain better.
hey do you know how press two buttons at the same time to perform an action and it wouldn't interfere with the other buttons. for example I press up and left at the same time and he goes in the upleft direction then when an add an sensor for him to just go left he goes left but it interferes with my upleft action there making him go left when i press up and left. is there anyway to cancel buttons when i do this
Alusaint 4 months ago
@Alusaint Maybe you can use two keyboard sensors which you will connect to an AND controller. The sensor with the key you want to activate the controller (e.g. the left button) will be positive and the sensor with the key(s) e.g (the up key) will be negative. So when you press left and up only left will trigger the action.
pananag 4 months ago
@pananag what do you mean by positve and negative
Alusaint 4 months ago
@Alusaint Every sensor has two icons with three dots. The one with the dots at the upper side of the icon is the positive (or true in Blender 2.5+) pulse and the other with the dots at the lower side of the icon is the negative (or false) pulse.
pananag 4 months ago
This has been flagged as spam show
hey how did you get your character to turn around like that becuase when i try to make my character turn he just walks backwards any tips?
Alusaint 5 months ago
I need it so my cross air is on and constrained to the x axis (the same as my character). I have managed to have it on the x axis, but then it barely moves when i wiggle the mouse. I Hope that's clear, if not just message me.
Thank you SO much for your help.
-1LocationProductions
1locationproductions 1 year ago
awesome game! keep it up. u could get a lot of views if u finish the game. how did u make the cube track to the mouse?
SomeoneNamedTom 1 year ago
@SomeoneNamedTom You need a script that puts the mouse cursor always at the center of the screen. When you move the mouse to the right the cursor will move right some pixels & return. All you have to do is activate a rotate actuator when mouse cursor is at x coordinates left/right of the halfscreen X coordinates. Be sure to leave a space for half screen coordinates e.g 5-10 pixels or else the slightest movement will rotate the cube. So you rotate when x coord is less/more than halfscreenX -/+5.
pananag 1 year ago
@pananag I have been trying do the same thing but always ran into trouble with the mouse look. Could you post the script and/or a example blend file? You would be a hero if you did.
1locationproductions 1 year ago
@1locationproductions I can write a script for you. It is just that there are many ways to do it. Tell me what exactly you need, so I can implement the best method.
pananag 1 year ago
@pananag pleassseeee plesssee make me a script i acn send you the blenddd
TheOliverarc 6 months ago
how do you get the top half of the armature to move wherever the mouse is going?
is there a tutorial out there?
PHilADelZPHinESt215 2 years ago
No. I just used my imagination and bits of python scripting. My method consists of the following: First create an action with 90 or 180 frames thar represents the bending animation. Then correlate each frame to the angle mouse cursor forms to the hero e.g if mouse cursor angle forms 45o angle, the 45th frame of the action will be activated. Hope I helped. If not, tell me and I'll try to explain better.
pananag 2 years ago
loooks good but how do you do the bend the back thing
kenn090 2 years ago
By using an ipo to control the bending of the back.
The trick is to match the mouse cursor to the correct frame of the ipo.
pananag 2 years ago
This is very nice!
keep on working on it! =D!
DerangedGames 2 years ago