WhiteCoreSim / WhiteCore-Dev

WhiteCoreSim - Software to create your own virtual world
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Why is my avatar squatting? #239

Closed BogusCurry closed 7 years ago

BogusCurry commented 7 years ago

Hello ;D

Why is my avatar squatting? snapshot_001

aktual WCS dev Linux Mint 18 Singu 1.86

Have a nice Day ;D

emperorstarfinder commented 7 years ago

I have seen this one myself actually but haven't had a chance to look into it yet. Can you provide any additional info as to what the console is saying about the avatar if any at all? (you can also set console log level to debug which will provide debugging info that is not seen in log level info)

Which physics engine are you using (ODE or Bullet)?

Also have you tried moving the avatar around and if so does it do this after the avatar moves?

BogusCurry commented 7 years ago

I use ODE physics engine, the default avatar has not this problem. But the avatar go over the terrain, not on the terrain.

emperorstarfinder commented 7 years ago

Great. can you please test this with Bullet as well to see if you get this when using Bullet?

BogusCurry commented 7 years ago

Sorry, with Bulletsim is that bullshit .. no right jump ..when I fly and then makes fly off, is the terrain terrible .. I see nothing.

emperorstarfinder commented 7 years ago

I have done further testing on this and this has been confirmed. There are no apparent error messages on the consoles to give any suggestions on possible issue. Tested using ODE on Debian 8, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Linux Mint 18. Bullet will be the next test but safe to say this is likely a bug.

Raider73 commented 7 years ago

I remember getting this issue back in the days of Aurora-Sim the fix was as simple as changing one of the settings in a ini file

BogusCurry commented 7 years ago

I remember getting this issue back in the days of Aurora-Sim the fix was as simple as changing one of the settings in a ini file

In which ini file ?

Raider73 commented 7 years ago

From memory something to do with the gravity settings

On 25 Dec. 2016 12:05 pm, "Bogus curry" notifications@github.com wrote:

I remember getting this issue back in the days of Aurora-Sim the fix was as simple as changing one of the settings in a ini file

In which ini file ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WhiteCoreSim/WhiteCore-Dev/issues/239#issuecomment-269106234, or mute the thread https://github.com/notifications/unsubscribe-auth/AGqB9Y5tJWB-of-WAjHMdVbvnJ5eOYolks5rLcFhgaJpZM4LGHAj .

emperorstarfinder commented 7 years ago

That would be in the OpenDynamicsEngine.ini files. However I recommend you try with the latest master as there has been a potential fix for the avatar height (scale). It may be that the ODE was not accounting for the Real Avatar Height.

greythane commented 7 years ago

I have not seen this occurring in any testing that I have done, however... The latest Singularity has a new 'Crouch toggle' key shortcut that may be causing this behaviour.

From http://www.singularityviewer.org/about

Area search Windlight editor Built in pose stand [NEW] Crouch toggle with Shift-[Crouch button] [NEW] Singularity -> Streaming Audio Display, find out what song is playing. Alternatively: Vanity->General->Announce music stream's metadata in local chat when tuned in <<<

This does not appear in the 6156 build (OSX) but I'm fairly sure that I have seen it in the latest Windows 6861 build (I was running the x64 build at the time)

emperorstarfinder commented 7 years ago

It happens actually in Firestorm as well so its not viewer specific. Though I suspect its probably that Real Height bit I still need to test

fly-man- commented 7 years ago

Also, it might be that Hover Height isn't working properly in Whitecore as not all the bits and pieces for that have been implemented. So that might also give the "wrong" feeling when the AV is clearly standing on land

greythane commented 7 years ago

Bogus, Can you give me some details on how you produced this please? It looks like clean region but with your avatar modified.
What is the reported height of your avi?

emperorstarfinder commented 7 years ago

My team's physics engine developer has found the problem and should have a more permanent fix for this shortly. We will pass the fix to greythane to add to WC. It has to do with the hover height and not ODE specifically. In fact this issue may even come up with Bulletsim as well.

@BogusCurry if you adjust the hover height of your avatar to 0.168 your avatar should stand as normal.

BogusCurry commented 7 years ago

Hi there ;D At first Happy New Year for all ;D

OK, I have use the Bulletsim, this in the date from bulletphysik.ini http://paste.md-5.net/radepewece.ini @emperorstarfinder What mean you with hover height from the avatar ? Is that AvatarCapsuleHeight ?

Greetings

Bogus | Founder of GridTalk.de

emperorstarfinder commented 7 years ago

If you right click your avatar and go to appearance you will see an option that says Edit Hover height. Change this to 0.168 and your avatar will be standing as normal. The default Hover height for an avatar is 0.000 but there is an issue tht is causing the crouching due to some pieces of the Hover height code not being implemented.

In most cases the default settings in the Bulletsim ini configuration files should be just fine. All that would be necessary is just enabling bullet in Physics.ini

BogusCurry commented 7 years ago

OK, I have two regions, region one with bullet, region 2 with ode, when I log in on region 1 I can not crossover to region 2. That is very scary, when I log in on region 2, so I can crossover to region 1.

The height from my avatar is now right, I not deep in the terrain.

greythane commented 7 years ago

Hi Bogus, Regions set as BulletSim Physics do not currently allow region crossings. This has always been the case as far as I am aware and has been inherited from the OpenSim code base. I do have this 'on my list' to correct.

Regions crossings are fine using the ODE physics so that is why you an cross from your region 2.

BogusCurry commented 7 years ago

Hi Greythane ;D Ok ;D Thanks for your answer and Happy New Year ;D

emperorstarfinder commented 7 years ago

At the time Aurora-Sim was forked from Opensim (0.6.3 - Opensim) Bulletsim was not the engine of choice for physics and was not really maintained. So it is possible there are pieces inherited that would still cause a few issues for infinite regions and region crossings. Region crossings with bulletsim do work but bullet doesn't store the information during the actual crossing correctly. per the discussion @greythane and I have been having.

The reason I recommended testing the bulletsim was to see if the hover height was corrected for Bogus. :)

greythane commented 7 years ago

Closing as considered answered