# Character with no collision, what should i use?

**URL:** <https://forums.unrealengine.com/t/character-with-no-collision-what-should-i-use/280795>\
**Category:** Character & Animation\
**Tags:** unreal-engine, Oculus-Rift, CPP, question\
**Created:** [April 16, 2014, 6:48pm UTC](https://forums.unrealengine.com/t/character-with-no-collision-what-should-i-use/280795 "2014-04-16T18:48:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c217880d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c217880d](https://forums.unrealengine.com/u/anonymous_user_c217880d)\
**Post date:** [April 16, 2014, 6:48pm UTC](https://forums.unrealengine.com/t/character-with-no-collision-what-should-i-use/280795/1 "2014-04-16T18:48:48Z")

</div>

Hello,

I’m programming a game for the occulus rift DK2 (no i don’t have it yet, but i track the DK1 with a wiiMote 😉 ), the character will be able to move his head a little with the positionnal tracking and don’t want it to collide.

I tried to make a Pawn inspired of

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

however my UPawnMovementComponent is null\_ptr, and I can’t find the way to add one.  
.addComponent("UPawnMovementComponent ", …, new UPawnMovementComponent(PCIP)) doesn’t compile

**EDIT** :  
I finally succeded to do what i was trying, using ASpectatorPawn as parent class for my custom pawn. It make my camera float with no collision with the statics meshes, just what i was looking for !  
UPawnMovementComponent is abstract and can’t be instanciate directly.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 16, 2014, 9:50pm UTC](https://forums.unrealengine.com/t/character-with-no-collision-what-should-i-use/280795/2 "2014-04-16T21:50:37Z")

</div>

Please post your entire code for trying to use a custom character movement!

I am using one right now just fine 🙂

Make sure you post your **custom movement component class** as well! (you did make it already right?)

Rama
