I’m really new to UE. I’ve created first person template. Modelled in 3ds max arena. Exact sizes - 20x15 meters.And started to experiment with projectiles. Created basic projectile blueprint: collision mesh+static mesh+projectile movement component. Mass of mesh set 0.001 kg(real bullet is lighter but i decided that it’s ok)Set Projectile properties: Initial speed - 350 Max speed - 360(I thought it’s Meter per second) and got flight distance about 1 meter…
Haven’t understood anything, opened default projectile bluepring(ball) and had a shock.
Start velocity - 3000. Mass of mesh - 1500 Kg!!! What the hell is it? How is possible to simulate real physics? Maybe some gravity options? or something else… Please explain me
The standard unit of distance in UE4 is 1 unit = 1 cm. So the start velocity of the default blueprint ball projectile at 3000 means it should move 30 meters per second. The fact that the mass is set to 1500 kg is probably just down to the fact that they want it to be able to knock those cubes around properly, and that would take a lot of mass. I really doubt there was any sort of real-world consideration behind that value.
If you wanted to simulate a pistol bullet, you’d be looking at something like 30000 for the velocity. At that rate, ordinary collisions will most likely be quite unreliable at best, but you could either enable CCD or use a line trace to find out if it hit something.
To simulate real physics, the default value for gravity is already correct by default, 981 units (i.e. 9.81 meters) per second per second, so you shouldn’t have to change anything there. As far as everything else related to real physics simulations go, well, that’s another story… Let’s just say that if you want that, you shouldn’t use a game engine.
About centimeters it was stupid mistake But usually standard is a meter. About line trace it’s interesting i’ll try)) I made it another way. Spawned tiny objects by event tick with gate on fire button and changed color of the last by Hit.
I think that this issue has been exhausted, thx again