Flying actors...
#1

Hello, i created some actors sometime they are on the place where i created them, and sometimes they are random flying around see screenshot.




code:


PHP код:
 public OnGameModeInit()
{
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    
// Actors
    
Test CreateActor(1882498.410644, -1687.74890113.51543212.163675);
    
ApplyActorAnimation(Test"RAPPING""RAP_B_Loop"4.110000); // rap 2
    
SetActorHealth(Test100);
    
CJ CreateActor(02493.921386, -1690.80383314.765625269.682464);
    
ApplyActorAnimation(CJ"DEALER""DEALER_IDLE"4.110000); // crossarms 2
    
Grove1 CreateActor(1052484.708496, -1685.32092213.508554288.282745);
    
ApplyActorAnimation(Grove1"RAPPING""RAP_C_Loop"4.110000); // crossarms 2
    
Grove2 CreateActor(1062485.615478, -1685.80468713.50964726.315229);
    
ApplyActorAnimation(Grove2"GANGS""prtial_gngtlkF"4.110000); // chat 2
    
Grove3 CreateActor(1072485.893554, -1684.78686513.506622110.853370);
    
ApplyActorAnimation(Grove3"GANGS""prtial_gngtlkB"4.110000); // chat 2
    
Grove4 CreateActor(2932485.031005, -1684.28198213.505460201.741760);
    
ApplyActorAnimation(Grove4"RAPPING""RAP_A_Loop"4.110000); // chat 2
    
Ryder CreateActor(2712477.548095, -1687.61499013.507812351.197601);
    
ApplyActorAnimation(Ryder"SMOKING""M_smklean_loop"4.110000); // smoke 2
    
Smoke CreateActor(2692478.449218, -1687.67297313.507812354.261810);
    
ApplyActorAnimation(Smoke"SMOKING""M_smklean_loop"4.110000); // smoke 2 
Reply
#2

Had this happen, too. Probably the actors stream in before the surface they're supposed to spawn on streams in, so the actors fall through the ground. Then the game engine respawns the actor on the closest sidewalk node. If you connect the three positions in your screenshot you can see that the path it creates follows the sidewalk.

This is pretty much the same thing that happens with vehicles suddenly spawning in the middle of the road. Very annoying, but I don't think it can be fixed, unfortunately. You could try placing a flat object with a very high drawdistance underground to give the actors a surface to spawn on.
Reply
#3

You'd have to mess about with the streamer, the recent this is happening as stated above is because the actors are just falling, they have a larger draw distance spawning rate than the objects you do, this could be fixed by placing a solid flat surface under the sidewalk and hopefully they should land on that and thus not end up flying
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)