Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Create_Player( level )
- {
- obj = level.CreateGameObject().
- {
- name = "Player",
- id = null,
- localPosition = vec3(0,0,0),
- };
- bhvr = obj.AddBehavior( "chr", "TSCharacter" ).
- {
- };
- bhvr = obj.AddBehavior( "ctrl_player", "TSPlayerController" ).
- {
- };
- return obj;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement