Skocz do zawartości
View in the app

A better way to browse. Learn more.

Max3D.pl

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Napisano

Cześć

 

Mam takowy problem

 

Korzystając z tutkow Allana Mckaya stworzyłem birth script, który przyczepia

fragmenty większego obiektu (każdy to editable poly) do partikli tak, że potem mam partikle wyrównane to fragmentów obiektu i poruszające nimi.

 

------------------------------------

on ChannelsUsed pCont do

(

pCont.useShape = true

pCont.useTM = true

)

 

on Init pCont do

(

global calosc = $fragment_* as array

 

)

 

on Proceed pCont do

(

 

t1 = pCont.getTimeStart() as float

t2 = pCont.getTimeEnd() as float

 

if ((t1 = 0)) then

(

(

pCont.Addparticles calosc.count

for i in 1 to calosc.count do

(

pCont.particleIndex = i

pCont.particleTM = calosc.transform

pCont.particleShape = calosc.mesh

)

)

)

)

on Release pCont do

(

)

---------------------------------

 

Wszystko jest cacy,ale ja bym chciał żeby ten obiekt się rozpadł na te fragmenty polecial sobie do find targeta gdzieś w scenie i potem złożył się spowrotem w całość za pomocą opcji by script vector w drugim find targecie.

 

 

---------------------------------

on ChannelsUsed pCont do

(

pCont.useVector = true

pCont.useTM = true

)

on Init pCont do

(

)

on Proceed pCont do

(

count = pCont.NumParticles()

 

for a in 1 to count do

(

pCont.particleIndex = a

pCont.particleVector = calosc[a].transform

)

)

on Release pCont do

(

)

 

-------------------------

I tu zaczynają się problemy bo obiekt po złożeniu ma poobracane fragmenty, albo wcale się nie składa :/

 

Z góry dzięki za pomoc

 

Pozdrawiam

DaveBorck

  • Wyświetleń 719
  • Created
  • Ostatniej odpowiedzi

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Powiadomienie o plikach cookie

Wykorzystujemy cookies. Przeczytaj więcej Polityka prywatności

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.