Previous Blog Next Blog
Prev/Next Blog
by date

Beginner's scripting question: Player control

Beginner's scripting question: Player control
Name:Mark Haidekker 
Date Posted:Mar 11, 2008
Rating:Not Rated
Public:NO
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Mark Haidekker

Blog post
Can somebody help me with these two beginner's questions:

1) How do I identify the player object in a .cs script?

2) How can I control the player? I need to do one or more of the following:
- query the player's position and direction of movement
- force the player to move in a specific direction (force a specific yaw)
- set the player's speed of forward motion

Apologies if this is covered somewhere - I tried to search the forums but found nothing. Maybe this is too basic?

Thanks for any help!

Submit ResourceSubmit your own resources!

mb   (Mar 11, 2008 at 15:24 GMT)
You should post questions in the forums not in the blogs. www.garagegames.com/mg/forums/result.forum.php?qf=52

Mark Haidekker   (Mar 11, 2008 at 15:27 GMT)
Thanks - I have done this now.

You must be a member and be logged in to either append comments or rate this resource.