Jump to content

camera going thru walls


cassius
 Share

Recommended Posts

One other way which I've done before was to use EntityVisible from the camera location to the camera target (I just used pivots at either location to make it easy, but there are other ways to get the same effect) and if it's not use LinePick from the player to the camera looking for the first hit. Then move your camera to that hit. The benefit of this is that it won't allow anything to come between your camera and your player, if that's what you are looking for. Pillars for example would be where body collisions and this method would differ, but it all depends on what you are looking for. Sometimes it's cool to have the camera go behind pillars.

Link to comment
Share on other sites

Yeah going thhrough pillars looks good. We often see this effect in films. But my camera goes through walls in the middle of a sword fight.I made the room bigger to avoid this but thats just a fudge. I prefer a coding solution.

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

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...