# Need Help Understanding how to Assign a Transform as an Avatar of a Third Person Navigation Camera, After Following Instructions

**URL:** https://forum.castle-engine.io/t/need-help-understanding-how-to-assign-a-transform-as-an-avatar-of-a-third-person-navigation-camera-after-following-instructions/1144
**Category:** 3D
**Created:** [April 6, 2024, 1:39am UTC](https://forum.castle-engine.io/t/need-help-understanding-how-to-assign-a-transform-as-an-avatar-of-a-third-person-navigation-camera-after-following-instructions/1144 "2024-04-06T01:39:31Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [April 29, 2024, 1:42pm UTC](https://forum.castle-engine.io/t/need-help-understanding-how-to-assign-a-transform-as-an-avatar-of-a-third-person-navigation-camera-after-following-instructions/1144/4 "2024-04-29T13:42:00Z")

</div>

Quickly looking at [GitHub - JPF12141999/Toy-Story-2-Ripoff-Game: Ripoff of Toy Story 2: Buzz Lightyear to the Rescue, which takes place in the SpongeBob Universe instead.](https://github.com/JPF12141999/Toy-Story-2-Ripoff-Game) :

1. You placed all files, code and data, at the top-level folder of the application. This makes it hard to see what’s going on. Please move data files to `data/`, code to `code/`, as all CGE examples do and as new CGE projects (created using “New Project” from CGE editor) have.

2. Your code defines `TThirdPersonNav` derived from `TCastleThirdPersonNavigation`, and then `MyThirdPersonNav` derived from `TThirdPersonNav`. This is not necessary. You need only one descendant from `TCastleThirdPersonNavigation`.

3. The `SetAnimation` has to be declared with `override`, right now it obscures the virtual method instead of overriding it. The compiler warns about it:

4. Your design refers to absolute filename that can only work on your system: `file:///C:/Users/Joshua/Downloads/SandyTreedome-zipline.glb` .

I didn’t yet get to actually see the blank screen, so I can’t comment on your exact question. If you fix AD 1 and AD 4 above, I’ll be able to easily test the project on my side.

---

_[View the full topic](https://forum.castle-engine.io/t/need-help-understanding-how-to-assign-a-transform-as-an-avatar-of-a-third-person-navigation-camera-after-following-instructions/1144)._
