Giter VIP home page Giter VIP logo

Comments (19)

DamirPorobic avatar DamirPorobic commented on July 20, 2024

What I can see from the shared video is that the character is moving away from other actor, that seems to be correct, but the map is also moving, this seems to be related to incorrect set map properties. Can you please share:

  • Image that you use as background
  • Top view screenshot of your UE Map, can be taken in the editor
  • Screenshot of map properties that you have set.

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

Minimap locations are perfect ,the location of each actor is shown correctly on server ,only clients has that error

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

As said, please share:

  • Image that you use as background
  • Top view screenshot of your UE Map, can be taken in the editor
  • Screenshot of map properties that you have set.

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

props
texture

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Can you also post your original map texture?

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

texture2

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Ok, and this is the length of your UE4 map?
capture

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

unnamed
i took that value as in the image.

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Well yeah, that should be the same. So, question now, is there anything different between your server and client? The widget takes always the current player location and uses those values that you have provided to calculate the map movement. There must be something different between the client and server.

I've just run the sample mini map projects with two clients and the map was working fine on both, which is something I would expect, every minimap is a widget of it's own and has nothing to do with other minimap widget.

Can you try to run the example project with two clients and see how it behaves?

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

i have tried it already it works fine with your project, for my my project its like that

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

one thing i have changed in your code, you have made to set the static poi on begin play of ThirdPerson character , i changed the static class to Thirdperson class so that it can detect players,then instead of adding players in beginplay of Thirdperson character i have added them in event tick in minimap widget so that every player joins can be visible in map,is the logic ok or i have to modify?

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

For detecting other players you should use tags. Like explained here https://github.com/damirporobic/UE4_Minimap/wiki/1.-Getting-Started#implementing-the-widget

Basically what it does when a new player joins, and he hits the collision sphere he is added to the map. In this way you can give different color to enemies or NPC, what ever fits your need.

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

i need to do without the collision sphere, i am doing an FPS game for that will this work?

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Why would it not? The sphere is not blocking, you just check for overlap. Don't see a problem there

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

if i use always collide condition will that be working fine?

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

You can use more then one collision sphere on you character, for example one for map that those only overlap and another that checks for projectile hits.

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

youre not talking about that ue4 thing in the map,did you?youre telling that i dont have to change any thing except the widget values rite?if not what should i change and one more thing how to make the texture rotate as the player turns like Call of Duty?

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

its working now thanks ,its due to the sphere after adding it works,and how to rotate the texture do you have any idea on that?

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Great to hear that it works. The map rotation is currently not implemented, eventually one day in future but for now you would need to look into that by yourself. The problem with the map rotation is that you need to add the logic everywhere which is not impossible but requires some work.

from ue4_minimap.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.