Jump to content

3rd person cam help


senergy
 Share

Recommended Posts

Hello, could someone help me a little bit with programming? I'm stuck on creating a 3rd person view for about 2 hours now (I'm stuck at loading a model and making it to collide with everything and not "overturning")

 

I have this: http://pastebin.com/fRuA4DbD

 

it will just spawn barrel, attach my camera to it, but there's really weird collision, I'll fall on the floor, but when I move down I'll fall from scene, but when I again "fly" up, I'm able to collide with everything, but it's REALLY werid collision, the barrel is bouncing when it touches anything, i can make a video since it's a little bit hard to explain

 

a proper tutorial for 3rd person cam with loading model would be cool in tutorials section...

 

also, I'm not using character controller like it was in spectator tutorial since I don't like that moving (when I stop holding W it will still move for like 0.3sec, same with camera), so that's why I prefer MoveEntity, well, if there is some command that can fix that and make controller move like with MoveEntity (so without that "sliding") it would be cool tongue.png

Link to comment
Share on other sites

I found that not having a controller caused all sorts of instability in my character collisions. In the asset store there is a third person example called ball game. There is also a bmax third person example by marleys ghost.

  • Upvote 1

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

is there any way to change

TBody ballbody=CreateBodySphere();

so it will act as a character not a ball?

Why not use a cylinder instead of a sphere?

 

ZBrush 4R7 64-bit - 3DCoat 4.5 BETA 12 - Fl Studio 12 64Bit - LE 3.2 Indie version - Truespace 7 - Blender 2.71 - iClone 5.51 Pro - iClone 3DXChange 5.51 pipeline - Kontakt 5 - Bryce 7 - UU3D Pro - Substance Designer/Painter - Shadermap 3 - PaintShop Photo Pro X7 - Hexagon - Audacity - Gimp 2.8 - Vue 2015 - Reaktor 5 - Guitar Rig 5 - Bitmap2Material 3

Link to comment
Share on other sites

will pivot work as normal char? or which one I have to use? box? was looking in createbodyxx commands and those 2 are the ones I thought are good, aslo ,is there any way to disable that console when loading game? so it will load only game not console before it ?: P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...