Battlefront II (3-D)
-
I’m taking a break on Halo. On Mar 24, I played Lego Star War Skywalker Saga. And wached my dad blast rebels away in battlefront… Here are some Q’s I have: 1: How to shoot? One that starts at the ship and ends at a distance? 2: Shields? 3: Switching 3-d costumes and adding worlds?
-
@shrukin the laser distance one is the actual perfect job for raycasts, when they shoot you can have them deal damage to the touched object, shields can be another 3D object with the ship set as parent, and apply some effects to it, costumes you can import community models (with proper credits) and upload your own models
-
@tyller_ Uh… I don’t ever use raycasting…
-
@shrukin the raycasting blocks let you draw lines in directions from a 3D object, they detect collision in that direction, they can be used to do some math with their distance to make a particle at the impact site, I could try making a demo if you want one
-
@tyller_ … Ok?
-
@shrukin for the lasers you can use a ray cast to “shoot” a projectile that doesn’t have bullet lag, you can check what object the ray cast is touching each time the player tries to shoot
-
@tyller_ hmm. i’ll be useing 3-d stuff. my head swirling…
-
@shrukin look for the tutorial on raycasts in the 3D blocks section
-
@tyller_ Ok, thx.
-
@shrukin Hey, will a particle emitter work too?
-
If you want to shoot from the camera in first person view, you can check out this example:
https://play.creaticode.com/projects/377563a0134456c0ce412fc6
-
@Shrukin
Uhh shouldn’t you focus on one thing at a time? Everything feels kind of rushed -
@011830-0a42ef84 ???