to make the controller look at an actor
anyone?
cheers
to make the controller look at an actor
anyone?
cheers
LOOK>> Please ask questions in the forum, NOT a private message <<LOOKCode:We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
tegleg.co.uk
My Tutorials n Stuff
Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
will code for money
In controller
I don't see it being used anywhere though.Code:var Actor Focus; // actor being looked at
FREELANCER PROGRAMMER/ARTIST OPEN FOR HIRE
Tutorial :
Vaulting Using Actors
Widescreen Hotfix (Canvas)
Scene Contrast PostProcess
Creating Menus/Buttons Using Canvas
RPG Inventory Abstract
Ocean Waves using World Position Offset
Sniper Lens Effect
Packs/Downloads :
BallGame Starter Pack
Zombies Demo/Source Code
Please do not PM me with questions. I am very busy and questions are better off left to the forums. Thank You
Thats what i thought too, what i do to make a bot look at my pawn is this
Code:foreach VisibleCollidingActors (class'MainPawn',Player1, 2000) { Pawn.SetDesiredRotation(Rotator(Normal(Player1.Location))); PlayerCon.MadeNoise = false; //** Going to state idle will allow for the pawn to "SEE" the player when the zombie turns around. }
FREELANCER PROGRAMMER/ARTIST OPEN FOR HIRE
Tutorial :
Vaulting Using Actors
Widescreen Hotfix (Canvas)
Scene Contrast PostProcess
Creating Menus/Buttons Using Canvas
RPG Inventory Abstract
Ocean Waves using World Position Offset
Sniper Lens Effect
Packs/Downloads :
BallGame Starter Pack
Zombies Demo/Source Code
Please do not PM me with questions. I am very busy and questions are better off left to the forums. Thank You
brilliant!
thanks TheAgent
and everyone else
Pawn.SetDesiredRotation(Rotator(Normal(Player1.Loc ation)));
that works
i tried SetDesiredRotation but couldnt get it to work
Normal is what i missed
Focus didnt work for me
LOOK>> Please ask questions in the forum, NOT a private message <<LOOKCode:We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
tegleg.co.uk
My Tutorials n Stuff
Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
will code for money
No problem : }
FREELANCER PROGRAMMER/ARTIST OPEN FOR HIRE
Tutorial :
Vaulting Using Actors
Widescreen Hotfix (Canvas)
Scene Contrast PostProcess
Creating Menus/Buttons Using Canvas
RPG Inventory Abstract
Ocean Waves using World Position Offset
Sniper Lens Effect
Packs/Downloads :
BallGame Starter Pack
Zombies Demo/Source Code
Please do not PM me with questions. I am very busy and questions are better off left to the forums. Thank You
Bookmarks