Realism — Make your games feel more immersive!

I’m getting this warning from FpsCamera when my character dies. Should i worry?

I’m having this too. I have no idea what’s causing it.

Resetting sometimes fixes it but it’d be great if it didn’t happen at all.

for some reason the realism breaks after a third person has joined a server. after that the person needs to reset in order to get it working. most of the time there’s no error messages

I also get this warning if I enable my mobile shift lock on, it causes a ton of lag, and removing Realism fixes my problem, Hopefully there’s a way for this issue

Im having issues with using Freecam while Realism is active, when the camera goes through parts, it teleports back to the players head at certain positions, it’s annoying and will make issues for my game.

How would I be able to use the humanoids CameraOffset during certain times. I need to make the screen shake during some sections of my game and can’t seem to figure out how. Thanks:)

2 Likes

I figured it out, added a disable toggle here and it works perfectly!

function FpsCamera:GetSubjectPosition()
if self:IsInFirstPerson() then
local camera = workspace.CurrentCamera
local subject = camera.CameraSubject

	if subject and subject:IsA("Humanoid") and subject.Health > 0 and Disabled == false then
		local character = subject.Parent
		local head = character and character:FindFirstChild("Head")
		
		if head and head:IsA("BasePart") then
			local cf = head.CFrame
			local offset = cf * CFrame.new(0, head.Size.Y / 3, 0)
			
			return offset.Position, cf.LookVector
		end
	end
end

return self:GetBaseSubjectPosition()

end

4 Likes

Is there a way to remove or at least smoothed out the screen shake/view bob when you’re in the first person?
This problem is annoying because I’ve planned to add my own view bob and will it interfere with my new view bob.
I’m aware that it’s caused by my head movements but wow it’s really annoying and I don’t want to change my animation because of this issue.

1 Like

Hey @Maximum_ADHD can u add subnautica like camera system while swimming and also add a camera orientation limiter while sitting?

1 Like

Because FFlagUserTransparencyControllerDeltaTime is now a thing, this module breaks.

The fix is to add a delta time argument to the FpsCamera:UpdateTransparency function.

function FpsCamera:UpdateTransparency(dt)
	assert(self ~= FpsCamera)
	self:BaseUpdate(dt)
	...
14 Likes

Fun :sweat_smile:
I’ll get a fix out shortly.

9 Likes

Realism is broken right now, camera is uncontrollable third person

4 Likes

Same here. Material footstep sounds aren’t working for me either. I don’t think it has to do with the Audio Library update, because it had been working alright for the past days.

1 Like

No it actually does have to do with that.
I’m going to be reworking some things with this library soon to try and address this.

7 Likes

Eh. It’s probably nothing. My head is invisible, but it’s probably nothing.

Thank you, my man! It fixed those errors I was getting each millisecond!

1 Like

I thought all content never required attribution if it belongs to the community resources category… Should look into the rules again i suppose…

Can you publish it as a model instead? It’s much easier that way

2 Likes

It’s not that hard, I can help you if you need it or if you are just thinking about others thats fine

It causes many bugs for mobile users, don’t use this module until its fixed.

1 Like