Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

movement code #4

Open
ghost opened this issue May 7, 2020 · 8 comments
Open

movement code #4

ghost opened this issue May 7, 2020 · 8 comments

Comments

@ghost
Copy link

ghost commented May 7, 2020

in this repo, i may want to modify the movement speed to see if there is any phenomenon at a couple million block out, (far lands 2.0?) where can i find the code to modify that?

@Sv443
Copy link

Sv443 commented May 7, 2020

I'm not the dev but here's some variables you can change: https://github.com/samhogan/Minecraft-Unity3D/blob/master/Assets/Scripts/PlayerMovement.cs#L8
As far as I know you have to go to a coordinate greater than 2,147,483,647 to over- / underflow the integer values and make weird stuff happen.

@ghost
Copy link
Author

ghost commented May 8, 2020

yep, i have the code modded in visual studio IDE and dont know how to load it into unity. my little code knowledge is broken.

@bgirard
Copy link

bgirard commented May 8, 2020

Just go in the editor and change the position of the player object.

@DasBlackfur
Copy link

@MangoDevStudio Yes that is also my point finding that line isnt very chalaging but I have almost no experience with loading code into unity
so If anywone could tell me pls do it. @bgirard Probably you know how to do it.

@DasBlackfur
Copy link

Okay I got it myself and btw at 100000 this happens:
grafik

@ghost
Copy link
Author

ghost commented May 12, 2020

smarter than me :(, but antvenom would be proud

@DasBlackfur
Copy link

Hmm I found something else wiered…
If you teleport to 100000 this happens. But if you walk to 100000 everything is fine (exept lighting).
At About 50000 smooth-lighting breaks. At 80000 hard-lighting is broken so I had to diable lighting completly.

@FinnT730
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants