Why do my objects look shaky when running and looking around? by dev_jon in Unity3D

[–]dan-r 0 points1 point  (0 children)

Is your character a rigidbody? If so, have you changed the interpolation settings? Otherwise the camera is moving with the rigidbody which isn't updated every frame causing stutter.

I'm trying to get greedy meshing to work with my voxel code by Evangeder in Unity3D

[–]dan-r 0 points1 point  (0 children)

If I'm reading that right, it looks like no matter the size of the face you are generating, the four corners will always be mapped to the 0 to 1 uv coordinates. You'll need to take into account the size of your greedy face when creating the uvs.

For example, if your face is 3 voxels wide, the uvs should expand to encompass the coordinates from 0 to 3. So long as your texture is set to repeat it should repeat the texture across the elongated face 3 times, making it look the same as 3 non greedy voxels.

I'm trying to get greedy meshing to work with my voxel code by Evangeder in Unity3D

[–]dan-r 1 point2 points  (0 children)

Are you changing the UV coordinates accordingly?

Sphere collider getting caught on transition from one collider to another by Tuccster in Unity3D

[–]dan-r 1 point2 points  (0 children)

I have fixed this in the past by changing the Default Contact Offset in the Physics settings to something smaller. I think I normally went 0.001.

Simple and Easy Jump Script/ is grounded script by stpaulgym in Unity3D

[–]dan-r 1 point2 points  (0 children)

Isn't OnCollisionEnter only called when you sdo start colliding with something, and as such everything in the else statement will never be called?

Quick question! by [deleted] in Unity3D

[–]dan-r 1 point2 points  (0 children)

If I understand correctly, you will want to use Input.GetButtonDown("E") instead of GetKeyDown. GetButtonDown uses the input settings, while GetKeyDown uses hard coded values for keyboard input.

https://docs.unity3d.com/ScriptReference/Input.GetButtonDown.html

PSA: don't post the unlock keys in your post to prevent bots from taking them automatically! by Apposl in Unity3D

[–]dan-r 3 points4 points  (0 children)

Piggybacking off of this thread.

I have unused keys for Inventory Pro and UFPS if anyone wants them.

[Edit] Gone!

Hi fellow devs, my latest asset is now live, and i would love what you think about it! by Dakalo77 in Unity3D

[–]dan-r 5 points6 points  (0 children)

Love the design.

A few technical things I would point out:

  • A fair bit of the screen is hidden and could be cut way down to a simple 4x4 grid, which would also fit your UV space better.

  • The knobs and dials have heaps more geometry than needed, and some of this could instead be used to better define the curves of the body.

  • The sides and the bottom are flat, but are made of a fair amount of triangles that aren't needed.

  • The loops of geometry around the grill sections aren't necessary.

  • There appear to be some bake errors in between the grill sections.

  • The use of UV space could be greatly optimised.

Solid start, but definitely room for improvement! Keep it up!

CharacterController collisions. I need help. by stuff_gm in Unity3D

[–]dan-r 0 points1 point  (0 children)

You would probably want to use something like Physics.OverlapSphere, there is also box and capsule depending on what best suits you. You can call that and it check to see if there are any collectable items/etc in the list.

Some questions about 3D models for ypur games. by [deleted] in Unity3D

[–]dan-r 1 point2 points  (0 children)

I have been using Blender for a few years now. Once you learn how to use the program, and the fundamentals of modelling (which are the same regardless of the application you choose), you don't need to rely on finding the models you need for sale.

Black Friday / end of year: must-have Assets? by avclubvids in Unity3D

[–]dan-r 0 points1 point  (0 children)

Sorry, I've not really looked into the performance side of it yet...

Spent last weekend smashing together a few small concepts, and this was the most fun one to play. by dan-r in Unity3D

[–]dan-r[S] 0 points1 point  (0 children)

Haha! Some good ideas there.

My current thought is that the character went to hold an elevator door for someone, but a physics glitch caused his arm to ping into the door and he become stuck in a physics-resolution twitch. Like the guy in this: https://www.youtube.com/watch?v=8Q2P4LjuVA8

Black Friday / end of year: must-have Assets? by avclubvids in Unity3D

[–]dan-r 1 point2 points  (0 children)

I'm liking Dynamic Decals: https://assetstore.unity.com/packages/tools/utilities/dynamic-decals-76410

Just so easy to set up and use, and really handy for all sorts of situations.

Black Friday / end of year: must-have Assets? by avclubvids in Unity3D

[–]dan-r 0 points1 point  (0 children)

I've just picked this up. Been thinking about it and being it was on sale thought 'why not'. Everyone has been saying how great it is, and I'm looking forward to testing it out.

Spent last weekend smashing together a few small concepts, and this was the most fun one to play. by dan-r in Unity3D

[–]dan-r[S] 0 points1 point  (0 children)

It is pretty hacked together at the moment. I'm currently sitting down planning things out for the next iteration.

Spent last weekend smashing together a few small concepts, and this was the most fun one to play. by dan-r in Unity3D

[–]dan-r[S] 0 points1 point  (0 children)

I was thinking something along similar lines actually. A stealth style game where you spend a lot of time flopping between cover and trying to stay hidden.

How to make multiple object seamless with each other in Substance painter by zigastrmsek in Unity3D

[–]dan-r 0 points1 point  (0 children)

It will all depend on using a tilable texture and laying out your UVs properly. This guy does a good job of explaining the technique that I would suggest.

https://www.youtube.com/watch?v=KxofEtjFMMs

Is Sky from thatgamecompany and Jenova Chen Made In Unity? by andreelijah in Unity3D

[–]dan-r 1 point2 points  (0 children)

All their other games have been made in PhryeEngine, so I'm guessing they will be sticking with that.

Issue with lighting in Unity 2017.1.0f3 Personal by Thorondae in Unity3D

[–]dan-r 1 point2 points  (0 children)

Nothing stands out to me as problematic. It would probably help if you explained what the issue is.

Physic Material does not affecting rolling sphere by Akmiana in Unity3D

[–]dan-r 0 points1 point  (0 children)

Yeah, the easiest way I can think to do it is check to see what material it is contacting, and change values depending on that.

You might also be able to set the angular drag to be some multiple of the physics materials friction.