View Issue Details

IDProjectCategoryView StatusLast Update
0002675FSSCPscriptingpublic2012-06-30 21:13
ReporterAndrewofDoom Assigned ToValathil  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0002675: Setting an Object's Z Component Velocity Does nothing
DescriptionIn scripting, I can set the velocity of the x and y component velocities of any ship through scripting, but if I assign a velocity to the z component nothing happens (despite what the scripting system will tell you otherwise.)
Steps To Reproduce1. Download attached mod.
2. Run the mission "Velocity Assignment Test" in the mission simulator.
3. Sit still and watch. Look at the velocity gauge and the printout on the upper left of the screen. They match until it switches to moving in the z direction. At that point the scripting printout lies since the speed gauge reads 0.
Additional InformationThis is a major roadblock in my attempt to make a workaround for another collision issue which to fix would require an entire rewrite of the collision detection to solve (it's because I'm constantly moving player's position every frame that leads to the possibility of running into a ship with 0 velocity. Current collision detection makes the assumption that at least one of the objects has a velocity =/= 0, so that allows the player to pass through any and all ships if the player and the thing that's its about to intersect don't move).
Tagsphysics

Activities

AndrewofDoom

2012-06-30 20:06

reporter  

vel_script_test.zip (33,798 bytes)

Valathil

2012-06-30 21:13

developer   ~0013737

After researching I found out this is because the desired velocity of the player is overwritten by the throttle control. This cant be changed without massive rewrites of the whole control system imho. Closing the bug sry.

Issue History

Date Modified Username Field Change
2012-06-30 20:06 AndrewofDoom New Issue
2012-06-30 20:06 AndrewofDoom File Added: vel_script_test.zip
2012-06-30 20:08 AndrewofDoom Tag Attached: physics
2012-06-30 21:13 Valathil Note Added: 0013737
2012-06-30 21:13 Valathil Status new => closed
2012-06-30 21:13 Valathil Assigned To => Valathil
2012-06-30 21:13 Valathil Resolution open => won't fix