Hi there! I’m trying to put a simple game together and I have four questions. Please help.
- Is there a way to make my object return to it’s original (starting) zero rotation? Say if it was a steering wheel would it be possible to make it return to the starting position (i.e. car going str8) when no key is hit (not trying to turn)? I’ve tried creating an empty object and use the track to actuator for the object i want to get back to it’s original position (using the empty as a track object) but when I hit P my object falls to infinity… Am I doing something wrong or is it a bug? If there is no way around this one could I use a key (hit) to make my object return to it’s original (starting) rotation values (zero)?
- There is a constrain actuator but it seems it can only work for position. How could I constrain the rotation of an object (say limit the rotation to 45 degrees for any direction)?
- Is there a way (or script) I could use to calculate the speed of an object (and perhaps be able to use it as a property)?
- I’ve also seen some Blender-made games giving you the option to select the display res of the game (one of them even changed it’s proportions to fit to my 16:9 display). How can it be done? Is the Game-> Generate Display Lists option has something to do with it?
Warning: I have absolutely no coding experience (that’s one of the reasons I love BGE)
Thank you in advance and sorry for my bad English (I’m from Greece). Demo of this game will come pretty soon!