Announcement

Collapse
No announcement yet.

FGear Vehicle Physics (v1.1)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    v1.1 is available now

    CHANGELOG
    • Network replication
    • Suspension improvements including hard contact option
    • Auto reverse option for transmission
    • Sample backfire implementation for FGearEffects component
    • Runtime modification map for example project
    • Enter/exit vehicle map for example project
    • Stress test map for example project
    • Multiplayer map for example project
    • Two additional sample setups for the sandbox map
    • Minor improvements and bug fixes
    Additional Notes:
    -For network replication we tried to use regular pawn replication and tried to make it work along with physics. We only send/receive user input in addition to pawn replication so the effects are triggered like a local game which makes things easier. Depending on your feedback(if it is problematic) we may rewrite our current approach in the future releases.
    -About the multiplayer map you can set player count and test directly or tick dedicated server option and pick the server and join by entering ip address.
    -You can set the vehicle mass, center of mass offset and inertia scale at runtime with this version.
    -You can assign a new torque curve to the engine at runtime with this version.
    -You can get max engine power(kw) and max power rpm with this version.
    -You can get max speed for each gear with this version.
    Last edited by lazybitgames; 12-07-2019, 04:15 PM.

    Comment


      #92
      Hi! I'm researching your plugin and found something . When the car is on the descent ( without handbrake) begins to move sideways . Can this be fixed ?

      Comment


        #93
        Originally posted by ALEXSEEBEN View Post
        Hi! I'm researching your plugin and found something . When the car is on the descent ( without handbrake) begins to move sideways . Can this be fixed ?
        i need to see a gif or a video to understand the problem.

        Comment


          #94
          https://youtu.be/m92wPrZ_t2I - Video FGear Problem

          Comment


            #95
            Originally posted by ALEXSEEBEN View Post
            https://youtu.be/m92wPrZ_t2I - Video FGear Problem
            i see, that is an inherent problem of pacejka tire model, to solve it usually people use an alternate tire model at very low speeds.
            i did not bother to solve it since nobody has complained about it yet
            i will put it in my todo list, thanks for the feedback.

            Comment


              #96
              Originally posted by FisherDai View Post
              Hi, I'm using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.
              what kind of animation are you working on?
              i have just created a simple camera animation to test and it seems fine to me.
              are you trying to record sth. like a replay?
              Last edited by lazybitgames; 12-05-2019, 06:00 PM.

              Comment


                #97
                Originally posted by lazybitgames View Post

                i see, that is an inherent problem of pacejka tire model, to solve it usually people use an alternate tire model at very low speeds.
                Hi! I don't quite understand your answer. Can you explain in more detail ? ​​​​​​​

                Comment


                  #98
                  Originally posted by ALEXSEEBEN View Post

                  Hi! I don't quite understand your answer. Can you explain in more detail ?
                  tire models define the friction force generated by the tire and pacejka is the tire model we use. pacejka requires slip ratio(velocity difference between tire and ground) and slip angle(angle difference between tire heading and actual travel) inputs. when these values get close to zero pacejka formulas result also get close to zero, check the graph below. in reality tire force is never zero but pacejka does not handle that scenario. so to solve such cases we can use a different formula or change the way we calculate its inputs so that tires can generate forces when the slip ratio/angle is too small. there are tons of articles available about pacejka formula on the internet, check them if you are interested in details.

                  Click image for larger version  Name:	pacejka.jpg Views:	0 Size:	48.1 KB ID:	1694954

                  Comment


                    #99
                    Originally posted by FisherDai View Post
                    Hi, I'm using Sequencer Recorder to create animation, but only the movement works, the steering and wheel rotation can not be recorded. For Unreal`s default vehicle blueprint, sequencer recorder works.
                    Hi,
                    I'm working on your problem. I have tried to take a sequence record on unreal's default vehicle. I saw the same problem. The animation is recorded but not played. Can you let me know how did you record with unreal's vehicle system(I mean sequence record settings).
                    I watched a several video from youtube about sequence recorder. Some guys talk about that issue in comments.
                    Also you can see the image below about my test (unreal's default vehicle).

                    Click image for larger version

Name:	default_vehicle.jpg
Views:	117
Size:	293.3 KB
ID:	1695165

                    Comment


                      Originally posted by Last Coin Games View Post

                      Hi,
                      I'm working on your problem. I have tried to take a sequence record on unreal's default vehicle. I saw the same problem. The animation is recorded but not played. Can you let me know how did you record with unreal's vehicle system(I mean sequence record settings).
                      I watched a several video from youtube about sequence recorder. Some guys talk about that issue in comments.
                      Also you can see the image below about my test (unreal's default vehicle).

                      Click image for larger version

Name:	default_vehicle.jpg
Views:	117
Size:	293.3 KB
ID:	1695165
                      Hi, for the wheel rotation of unreal template, you can follow these steps after record, then the wheel would be fine. but I did the same thing for fGear, which doesnt work.
                      * Manuelly swith off "Simulate Physics", I`m using VH_Buggy from Vehicle Game as a reference.
                      Click image for larger version

Name:	5555.png
Views:	125
Size:	116.0 KB
ID:	1695311

                      Comment


                        Thank you for information.
                        The wheels are rotating with fgear vehicle if i turn off simulate physics as your described.What difference does it make between the two vehicle system by your project?
                        Some things are not recorded such as skidmarks. I will keep trying and let you know if there is improvement.
                        Last edited by Last Coin Games; 12-07-2019, 11:47 AM.

                        Comment


                          great work man exactly what I was looking for
                          .js everywhere

                          Comment


                            Originally posted by Last Coin Games View Post
                            Thank you for information.
                            The wheels are rotating with fgear vehicle if i turn off simulate physics as your described.What difference does it make between the two vehicle system by your project?
                            Some things are not recorded such as skidmarks. I will keep trying and let you know if there is improvement.
                            Hi, the problem is, even if I switched off the simulation option, for FGEAR vehicle, the wheel steering and rotation still doesnt work. I followed the quick start tutorial on Youtube to set up the basic sedan. I`m using UE 4.23.

                            Comment


                              Hi
                              Can you watch this video to see difference. Some options could not seen about my video recorder (Iam using default win10 recorder).
                              edit: added second video to easily see wheels rotating
                              Last edited by Last Coin Games; 12-08-2019, 05:55 PM.

                              Comment


                                Originally posted by Last Coin Games View Post
                                Hi
                                Can you watch this video to see difference. Some options could not seen about my video recorder (Iam using default win10 recorder).
                                edit: added second video to easily see wheels rotating
                                So now it`s very interesting, I tested some cars in the template, for Sedan_BP(also the drift version) it works, but for the Truck and 4WD/FWD it doesnt work. But 4WD is very important for me, could you have a look what cause the problem.

                                Comment

                                Working...
                                X