SetActorFacingAngle()
#1

Function SetActorFacingAngle();
Actors are not rotated, the function is very necessary.

Please fix it. I'm really waiting for a fix
Reply
#2

Yes, and I thought, why not the right degree for dynamic creation. So this is a bug
Reply
#3

PHP код:
SetActorFacingAngleEx(actoridactormodelFloat:Angle)
{
    new 
Float:xFloat:yFloat:z;
    
GetActorPos(actoridxyz);
    
DestroyActor(actorid);
    
actorid CreateActor(actormodelxyzAngle);

Not sure if it works, but worth a try.
Reply
#4

Quote:
Originally Posted by Jamester
Посмотреть сообщение
PHP код:
SetActorFacingAngleEx(actoridactormodelFloat:Angle)
{
    new 
Float:xFloat:yFloat:z;
    
GetActorPos(actoridxyz);
    
DestroyActor(actorid);
    
actorid CreateActor(actormodelxyzAngle);

Not sure if it works, but worth a try.
This variant I know. But the realization did not fulfill the requirements to re-create the actor disappears for 1-2 seconds.
Reply
#5

1. Don't use J's function. It won't save properties such as anims.
2. Use Gammix's include.
3. Recreating is the only fix, actors will not restream instantly so you're stuck there unless you lower update rates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)