Game Development Community

Player Dropping in at Game start..Change?

by Stephen Sinclair · in General Discussion · 04/04/2007 (7:48 am) · 7 replies

Hi All,

I really like these forums! Very helpful.

Question: When I start my game, the player falls out of the sky and onto my terrain. How can I spawn the player on the terrain without dropping out of the sky? I understand the spawn scripts, but how do I stop the falling part? Camera is at the eye-level of the controlled player.

Thanks!

Steve

#1
04/04/2007 (7:54 am)
One way to do it is move the spawning sphere down.
#2
04/04/2007 (9:21 am)
Not sure what you mean? I have a spawn point at the terrain base level. The player drops from the sky all the way down. When I add the SpawnSphere to the world in the editor, I resize the sphere to a small ball at the base of my terrain so that the player stops "falling"?

Thanks!
Steve
#3
04/04/2007 (9:43 am)
Got it! You move the SpawnSphere down to ground level and there is no more falling....

@Fucifer : Thanks
#4
04/21/2007 (12:28 pm)
Stephen does your guys camera shake when you fall from the sky? You know how to fix it if it does?
Thanks,
Silent
#5
04/21/2007 (12:33 pm)
AUSTIN,

By default, the camera falls smoothly from the sky until it hits the ground, then it shakes wildly for a second as if the camera hit the ground in real life. I didn't want this in my game, so, i created a ground level spawn point that is really small and set the camera there when the game starts. Now, the camera is already set to 1st person and there is no falling or shaking. I don't know how to turn off the shaking even if I wanted the camera to fall and just stop w/o a shake. maybe there is a property that can turn this off. Anyone?

-Steve
#6
04/21/2007 (7:32 pm)
In your player script file have a look for the following datablock settings

groundImpactMinSpeed = 10.0;
groundImpactShakeFreq = "4.0 4.0 4.0";
groundImpactShakeAmp = "1.0 1.0 1.0";
groundImpactShakeDuration = 0.8;
groundImpactShakeFalloff = 10.0;

i believe these are what control the shake duration and amount
#7
11/25/2009 (4:18 am)
@Steve

Select Alt +c it will goes to the Torque 3d screen and then next you select FIT VIEW TO THE SELECTION.

The major mistakes is you may delete the playerdroppoints.so please check with it. It will works.