Product Chat / camera movement control

Author
Message
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 15th Jul 2021 14:57 Edited at: 15th Jul 2021 15:03
it is possible to control the camera movement the "player" it is possible to add a movement more like ihere:
https://www.youtube.com/watch?v=r6NCC-nnvMU

the camera randomly move from left to right like floating it is possible to do that in GG ?

i saw this camera shake:
https://www.youtube.com/watch?v=hCWdZL0KLC4

it is possible to have that effect but slower for the player ?
"Utilise Perlin noise-based camera shake, available on command, helping you simulate handheld moves or emphasise big impacts"
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 15th Jul 2021 16:13
Oh- yeah. Now that you pointed it out, that kind of camera wobble looks actually cool. - Even essential. And it looks like cine guru scripts have all kinds of camera options, so I would say yes, it's possible in GG.

Anyway, long before cine guru I did some kind of camera wobble someone once requested; (I think for re-loading the firearm.) That would be buried down in the scripts forum somewhere... If you can model AND script- you should be good to go w/ game making.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th Jul 2021 16:27 Edited at: 15th Jul 2021 16:36
I will be honest .. My head does not wobble when i walk in fact the human body keeps the head as level as possible.
This is why things like this cause motion sickness as its not natural. If anything as you walk you get a very slight forward slowdown with each step almost unnoticeable so if anything that would be more realistic..
Try it ... Sit there and wobble your head up and down and side to side ... Does that feel normal ?
Now sit there and move your head forward and back ( only slightly ) or rock slightly keeping your head straight.
Now that to me is more realistic. ( as it really happens )
Then go for a walk and see that your head really does not move much at all
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 15th Jul 2021 18:05 Edited at: 15th Jul 2021 18:13
i know its not about ralism, its about exagerating the movement of the camera "player" to me if the camera wobble a little bit its not disturbing and can add more realism, i'm not a script guy so i don't know how to achieve that !
so YES it would be very nice if someone can create a script who achieve that effect !

Take your smartphone & film when you walk, you get the same wobbling effect !
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jul 2021 19:38 Edited at: 15th Jul 2021 19:38
Buy Cine|Guru if you don't already have it then you will have all you need to implement any 'wobble' you want.

Watch this first though: https://www.youtube.com/watch?v=tu-Qe66AvtY

As synchromesh says wobble is usually added to 2D games and 3rd person games to add atmosphere. First person usage should be subtle and for VR it is strictly verboten unless you want your players puking all over themselves.
Been there, done that, got all the T-Shirts!
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th Jul 2021 20:11 Edited at: 15th Jul 2021 20:22
Quote: "Take your smartphone & film when you walk, you get the same wobbling effect !"

Thats your body movement and your head staying still .. You just proved the point
What you see in your phone is not what your head does or you see
However to simulate a walk a wobble is used in Games as Amen points out.
I find the S2 wobble makes my stomach churn so you can go to far with it.

Just to add to Amens comment about VR ..
If someone records in VR walKing with a cheaper camera you get motion sickness very quickly when viewed in VR because it looks just like your smartphone.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jul 2021 20:26
Perlin noise effects can be added to the player camera in FPS to mimic things like explosions or earthquakes (the two real-world situations where you would in fact notice it) and add to the 'realism' but adding a 'Blair Witch' effect to the player camera in FPS would be rather disconcerting and in VR will make you physically sick.

Now when the player isn't in control of the camera motion, i.e. for cinematics (or cut-scenes if you prefer) then it is fine to add these effects, you brain knows the difference and will not expect any physical motion to go along with the effect but when you are controlling the motion any effect that is unpredictable to your brain will cause a motion sickness effect. (I say 'fine' but if you have ever sat through the opening sequences of SWTESB in an iMax or similar you may disagree. )

To some people the effect is quite minor, especially in a sit-down FPS scenario, but for others the effect can be very uncomfortable and in VR extremely so, to the point of physical suffering.
Been there, done that, got all the T-Shirts!
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 16th Jul 2021 07:08
Buy Cine|Guru doesnt look like i can control the player camera !
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 16th Jul 2021 12:03
Quote: "Buy Cine|Guru doesnt look like i can control the player camera !"

Not the actual player camera no
Its basically for Cutscenes \ Cinematics etc not the actual in game player.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 16th Jul 2021 12:15 Edited at: 16th Jul 2021 12:23
well.. yeah i tried with that plugin but nope it does not work with the player cam !
How to achieve that effect " Perlin noise-based camera shake," for the player cam view ?
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 16th Jul 2021 13:19
You would need to edit gameplayercontrol.lua to change how the player camera behaves.

Basically where the final camera position is set (just after the existing camera shake code) you would need to add some code to add the Perlin noise values to the camera angles.

I did actually try this for 1st person as an experiment but after a few minutes wandering around it became rather annoying. Might be better suited for 3rd person though.


Been there, done that, got all the T-Shirts!
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 16th Jul 2021 14:00
do you have your file or the code to add ?
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 16th Jul 2021 15:08
I'm actually knocking up a script atm.

Will post it here and on the CG discord when I have finished it.
Been there, done that, got all the T-Shirts!
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 16th Jul 2021 15:10
thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks !
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 16th Jul 2021 16:00 Edited at: 16th Jul 2021 16:01
Simple example of Perlin noise added to player camera. *** needs Cine|Guru to work ***

Simply add it to an always active entity.
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 16th Jul 2021 17:09 Edited at: 16th Jul 2021 17:11
superb !!!
i changed the local trauma = 0.2
by
local trauma = 0.1

it's less strong

thanks so much
My Portfolio: https://www.mattepainting.be/
My FREE extension: https://www.stop-it.be/

Login to post a reply

Server time is: 2024-04-25 14:00:01
Your offset time is: 2024-04-25 14:00:01